SlideShare a Scribd company logo
1 of 7
Download to read offline
Samples are provided as-is with no warranty Page 1 of 7
BPM 11g Samples
BPM-102-EDN-Integration
Copyright  2012 Oracle Corporation
All Rights Reserved
Samples are provided as-is with no warranty Page 2 of 7
Contents
1. History.....................................................................................................................3
2. Introduction............................................................................................................4
3. Environment Requirements..................................................................................5
4. Installation and Configuration .............................................................................5
4.1 Deploy the Composite Project ...............................................................................................5
5. Sample Overview ...................................................................................................6
6. Running the Sample...............................................................................................7
Samples are provided as-is with no warranty Page 3 of 7
1. History
Date Version Change Reference
Jun-10-2012 1.0 First release of sample
Samples are provided as-is with no warranty Page 4 of 7
2. Introduction
A frequently asked question is whether BPM processes can make use of SOA Event Delivery
Network (EDN) Events. EDN allows publish and subscribe interactions between SOA
components without exposing the details of the transport. Events are typed based on XML
Schema and named via an EDL file. Additional details about EDN can be found in:
SOA Developers Guide:
http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/obe_intro.htm#CHDIBHBE
BPM Modeling and Implementation Guide:
http://docs.oracle.com/cd/E23943_01/doc.1111/e15176/ipc_bpmpd.htm#BHBFADAC
Within BPM processes, EDN integration is supported and is surfaced through BPMN signal throw
and catch events. The following diagram illustrates that the “implementation” of a signal is
selecting the associated EDN event, providing the output data association, and (optionally)
specifying the correlation:
The mapping of BPNM signals to EDN events enables the following integration scenarios:
1. Starting a BPM process instance based on subscription to an EDN event via a BPMN signal
start event.
2. Throwing (publishing) an EDN event via a BPMN signal throw or end event.
3. Receiving a correlated EDN event via a BPMN signal catch event.
Note: in this release there are two limitations to be aware of:
1. Currently you cannot use BPMN signal events to communicate within the same process.
2. You cannot subscribe to uncorrelated EDN events using a BPMN signal catch event. You can
only use uncorrelated EDN events to start a process instance (i.e. any subscription within an event
subprocess must be correlated).
Samples are provided as-is with no warranty Page 5 of 7
3. Environment Requirements
This sample requires JDeveloper version 11.1.1.6 or higher with the SOA Composite Editor and
BPM Studio extensions installed. A standalone server with BPM Suite 11.1.1.6 (or higher) and a
domain configured with BPM Suite is required for deploying and running the sample.
4. Installation and Configuration
The sample is provided as a zipped JDeveloper application. The application can be unzipped into
any location where the path name does not include spaces. To open the application, use the
“Application Open” menu and locate the file: bpm-102-EDN-integration.jws. The application
contains 2 projects:
 BpmEdnIntegrationSample – A BPM project that includes two BPM processes used to
illustrate EDN integration.
 Resources – A generic project that contains documentation and ANT build targets to
package this sample.
4.1 Deploy the Composite Project
Use JDeveloper to deploy the composite. EDN is preconfigured in SOA domains. So no
additional configuration of EDN is required.
After deployment, you should be able to see auto-registered EDN subscriptions for the sample
processes in Enterprise Manager (EM):
Samples are provided as-is with no warranty Page 6 of 7
5. Sample Overview
The goal of this sample is to illustrate the 3 EDN integration scenarios described in the
introduction. The following reflects the order used within the sample.
1. Throwing (publishing) an EDN event. The OrderProcess is started with a message receive
event and the process immediately publishes an OrderCreatedEvent via a BPMN signal throw.
This results in a publish of then associated EDN event.
2. Starting a process on receipt (subscription) of an EDN event. The CreateOrderEventListener
process includes a BPMN start signal event which is mapped to an OrderCreatedEvent
subscription. This causes an instance of the CreateOrderEventListener to be created. Note
that this is pub/sub so the OrderProcess is decoupled from the CreateOrderEventListener
process and other components could also have subscribed to the same event.
3. The OrderProcess has a correlated BPMN signal catch event within the event subprocess. In
this case the correlation key is the orderId. This results in the OrderUpdatedEvent being
received only by the originating OrderProcess. Note that other components could also
subscribe to this event (i.e. EDN is not aware of the correlation). However only the BPM
instance with the matching correlation key will receive the event.
1
2
3
Samples are provided as-is with no warranty Page 7 of 7
6. Running the Sample
To run the sample, log into Enterprise Manager (EM) and navigate to the Test Page for the
BpmEdnIntegrationSample project. Enter an orderId and then select “Test Web Service”.
In the audit trail you will see:
1. The publishing of the OrderCreatedEvent, which causes an instance of the
CreateOrderEventListener process to be created.
2. The OrderUpdateEvent being published and received by the original OrderProcess, which
then results in the human task being withdrawn (from within the event subprocess).

More Related Content

Viewers also liked (17)

Introducc io n al voleibol
Introducc io n al voleibolIntroducc io n al voleibol
Introducc io n al voleibol
 
Formato S..EspañOl
Formato S..EspañOlFormato S..EspañOl
Formato S..EspañOl
 
Conoce a tu tutora
Conoce a tu tutoraConoce a tu tutora
Conoce a tu tutora
 
Iu al badajoz
Iu   al badajozIu   al badajoz
Iu al badajoz
 
Colecciones victor (1)
Colecciones victor (1)Colecciones victor (1)
Colecciones victor (1)
 
мелкая моторика №1
мелкая моторика №1мелкая моторика №1
мелкая моторика №1
 
6a
6a6a
6a
 
alcohol killer
alcohol killeralcohol killer
alcohol killer
 
Elena Inteligencia
Elena InteligenciaElena Inteligencia
Elena Inteligencia
 
Pom poms de llana
Pom poms de llanaPom poms de llana
Pom poms de llana
 
Pregunta pleno 11 octubre 2011
Pregunta pleno 11 octubre 2011Pregunta pleno 11 octubre 2011
Pregunta pleno 11 octubre 2011
 
Retribuciones concejal UPyD Ayuntamiento Santa Marta de Tormes 2013
Retribuciones concejal UPyD Ayuntamiento Santa Marta de Tormes 2013Retribuciones concejal UPyD Ayuntamiento Santa Marta de Tormes 2013
Retribuciones concejal UPyD Ayuntamiento Santa Marta de Tormes 2013
 
Calvin Y Hobbes
Calvin Y HobbesCalvin Y Hobbes
Calvin Y Hobbes
 
Faro De Vigo, 20 12 2003
Faro De Vigo, 20 12 2003Faro De Vigo, 20 12 2003
Faro De Vigo, 20 12 2003
 
Monaco
MonacoMonaco
Monaco
 
justificacion
justificacionjustificacion
justificacion
 
Document1
Document1Document1
Document1
 

Similar to BPM 11g Sample Shows How to Integrate EDN Events

Event driven network
Event driven networkEvent driven network
Event driven networkHarish B
 
Security Assessment Plan (Template)
Security Assessment Plan (Template)Security Assessment Plan (Template)
Security Assessment Plan (Template)GovCloud Network
 
Keepcon integrations- en-
Keepcon integrations- en-Keepcon integrations- en-
Keepcon integrations- en-keepcon-slides
 
Keepcon integrations- en-
Keepcon integrations- en-Keepcon integrations- en-
Keepcon integrations- en-keepcon-slides
 
Keepcon integration tutorial (December 2013)
Keepcon integration tutorial (December 2013)Keepcon integration tutorial (December 2013)
Keepcon integration tutorial (December 2013)keepcon-slides
 
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands OnjBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands OnMauricio (Salaboy) Salatino
 
Lock Lizard Secure Pdf Mac Viewer V2 5
Lock Lizard Secure Pdf Mac Viewer V2 5Lock Lizard Secure Pdf Mac Viewer V2 5
Lock Lizard Secure Pdf Mac Viewer V2 5Optimal Markets
 
Essentials of developing_tizen_web_application_en_1.0
Essentials of developing_tizen_web_application_en_1.0Essentials of developing_tizen_web_application_en_1.0
Essentials of developing_tizen_web_application_en_1.0Saima Ashiq
 
Keepcon integration tutorial_en (abril 2013)
Keepcon integration tutorial_en (abril 2013)Keepcon integration tutorial_en (abril 2013)
Keepcon integration tutorial_en (abril 2013)keepcon-slides
 
Keepcon integration tutorial 2013
Keepcon   integration tutorial 2013Keepcon   integration tutorial 2013
Keepcon integration tutorial 2013keepcon-slides
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshopRohit Kelapure
 

Similar to BPM 11g Sample Shows How to Integrate EDN Events (20)

Event driven network
Event driven networkEvent driven network
Event driven network
 
Acceptance test plan_4-24-07
Acceptance test plan_4-24-07Acceptance test plan_4-24-07
Acceptance test plan_4-24-07
 
Demonstrating caf.doc
Demonstrating caf.docDemonstrating caf.doc
Demonstrating caf.doc
 
Security Assessment Plan (Template)
Security Assessment Plan (Template)Security Assessment Plan (Template)
Security Assessment Plan (Template)
 
Sap template 050312
Sap template 050312Sap template 050312
Sap template 050312
 
Keepcon integrations- en-
Keepcon integrations- en-Keepcon integrations- en-
Keepcon integrations- en-
 
Keepcon integrations- en-
Keepcon integrations- en-Keepcon integrations- en-
Keepcon integrations- en-
 
Keepcon integration tutorial (December 2013)
Keepcon integration tutorial (December 2013)Keepcon integration tutorial (December 2013)
Keepcon integration tutorial (December 2013)
 
Att E
Att EAtt E
Att E
 
Document Consistency Checker(2)
Document Consistency Checker(2)Document Consistency Checker(2)
Document Consistency Checker(2)
 
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands OnjBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
 
Lock Lizard Secure Pdf Mac Viewer V2 5
Lock Lizard Secure Pdf Mac Viewer V2 5Lock Lizard Secure Pdf Mac Viewer V2 5
Lock Lizard Secure Pdf Mac Viewer V2 5
 
Essentials of developing_tizen_web_application_en_1.0
Essentials of developing_tizen_web_application_en_1.0Essentials of developing_tizen_web_application_en_1.0
Essentials of developing_tizen_web_application_en_1.0
 
Keepcon integration tutorial_en (abril 2013)
Keepcon integration tutorial_en (abril 2013)Keepcon integration tutorial_en (abril 2013)
Keepcon integration tutorial_en (abril 2013)
 
Keepcon integration tutorial 2013
Keepcon   integration tutorial 2013Keepcon   integration tutorial 2013
Keepcon integration tutorial 2013
 
Android web service client
Android web service clientAndroid web service client
Android web service client
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshop
 
Bpminto
BpmintoBpminto
Bpminto
 
Bpminto
BpmintoBpminto
Bpminto
 
jms-integration
jms-integrationjms-integration
jms-integration
 

More from XAVIERCONSULTANTS (20)

Xavier mds upload
Xavier mds uploadXavier mds upload
Xavier mds upload
 
Xavier file adapter_filemoving
Xavier file adapter_filemovingXavier file adapter_filemoving
Xavier file adapter_filemoving
 
Day2 xslt x_path_xquery
Day2 xslt x_path_xqueryDay2 xslt x_path_xquery
Day2 xslt x_path_xquery
 
Custom faultpolicies
Custom faultpoliciesCustom faultpolicies
Custom faultpolicies
 
All adapterscommonproperties
All adapterscommonpropertiesAll adapterscommonproperties
All adapterscommonproperties
 
Adavanced faulthandling
Adavanced faulthandlingAdavanced faulthandling
Adavanced faulthandling
 
SoaFAQS
SoaFAQSSoaFAQS
SoaFAQS
 
Xpath
Xpath Xpath
Xpath
 
Readme
ReadmeReadme
Readme
 
Bpm
BpmBpm
Bpm
 
Bpmnt-102-edn-integration
Bpmnt-102-edn-integrationBpmnt-102-edn-integration
Bpmnt-102-edn-integration
 
Soaosbcourse_content
Soaosbcourse_contentSoaosbcourse_content
Soaosbcourse_content
 
Oracle soa course_content
Oracle soa course_contentOracle soa course_content
Oracle soa course_content
 
EVENT DELIVERY
EVENT DELIVERY EVENT DELIVERY
EVENT DELIVERY
 
Bpelprocess-manager
Bpelprocess-managerBpelprocess-manager
Bpelprocess-manager
 
SOA web services concepts
SOA web services conceptsSOA web services concepts
SOA web services concepts
 
Bpel activities to upload club oracle
Bpel activities to upload club oracleBpel activities to upload club oracle
Bpel activities to upload club oracle
 
FiletodbAdapters
FiletodbAdaptersFiletodbAdapters
FiletodbAdapters
 
DBAdapters
DBAdaptersDBAdapters
DBAdapters
 
dbadapters
dbadaptersdbadapters
dbadapters
 

Recently uploaded

What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 

Recently uploaded (20)

What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 

BPM 11g Sample Shows How to Integrate EDN Events

  • 1. Samples are provided as-is with no warranty Page 1 of 7 BPM 11g Samples BPM-102-EDN-Integration Copyright  2012 Oracle Corporation All Rights Reserved
  • 2. Samples are provided as-is with no warranty Page 2 of 7 Contents 1. History.....................................................................................................................3 2. Introduction............................................................................................................4 3. Environment Requirements..................................................................................5 4. Installation and Configuration .............................................................................5 4.1 Deploy the Composite Project ...............................................................................................5 5. Sample Overview ...................................................................................................6 6. Running the Sample...............................................................................................7
  • 3. Samples are provided as-is with no warranty Page 3 of 7 1. History Date Version Change Reference Jun-10-2012 1.0 First release of sample
  • 4. Samples are provided as-is with no warranty Page 4 of 7 2. Introduction A frequently asked question is whether BPM processes can make use of SOA Event Delivery Network (EDN) Events. EDN allows publish and subscribe interactions between SOA components without exposing the details of the transport. Events are typed based on XML Schema and named via an EDL file. Additional details about EDN can be found in: SOA Developers Guide: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/obe_intro.htm#CHDIBHBE BPM Modeling and Implementation Guide: http://docs.oracle.com/cd/E23943_01/doc.1111/e15176/ipc_bpmpd.htm#BHBFADAC Within BPM processes, EDN integration is supported and is surfaced through BPMN signal throw and catch events. The following diagram illustrates that the “implementation” of a signal is selecting the associated EDN event, providing the output data association, and (optionally) specifying the correlation: The mapping of BPNM signals to EDN events enables the following integration scenarios: 1. Starting a BPM process instance based on subscription to an EDN event via a BPMN signal start event. 2. Throwing (publishing) an EDN event via a BPMN signal throw or end event. 3. Receiving a correlated EDN event via a BPMN signal catch event. Note: in this release there are two limitations to be aware of: 1. Currently you cannot use BPMN signal events to communicate within the same process. 2. You cannot subscribe to uncorrelated EDN events using a BPMN signal catch event. You can only use uncorrelated EDN events to start a process instance (i.e. any subscription within an event subprocess must be correlated).
  • 5. Samples are provided as-is with no warranty Page 5 of 7 3. Environment Requirements This sample requires JDeveloper version 11.1.1.6 or higher with the SOA Composite Editor and BPM Studio extensions installed. A standalone server with BPM Suite 11.1.1.6 (or higher) and a domain configured with BPM Suite is required for deploying and running the sample. 4. Installation and Configuration The sample is provided as a zipped JDeveloper application. The application can be unzipped into any location where the path name does not include spaces. To open the application, use the “Application Open” menu and locate the file: bpm-102-EDN-integration.jws. The application contains 2 projects:  BpmEdnIntegrationSample – A BPM project that includes two BPM processes used to illustrate EDN integration.  Resources – A generic project that contains documentation and ANT build targets to package this sample. 4.1 Deploy the Composite Project Use JDeveloper to deploy the composite. EDN is preconfigured in SOA domains. So no additional configuration of EDN is required. After deployment, you should be able to see auto-registered EDN subscriptions for the sample processes in Enterprise Manager (EM):
  • 6. Samples are provided as-is with no warranty Page 6 of 7 5. Sample Overview The goal of this sample is to illustrate the 3 EDN integration scenarios described in the introduction. The following reflects the order used within the sample. 1. Throwing (publishing) an EDN event. The OrderProcess is started with a message receive event and the process immediately publishes an OrderCreatedEvent via a BPMN signal throw. This results in a publish of then associated EDN event. 2. Starting a process on receipt (subscription) of an EDN event. The CreateOrderEventListener process includes a BPMN start signal event which is mapped to an OrderCreatedEvent subscription. This causes an instance of the CreateOrderEventListener to be created. Note that this is pub/sub so the OrderProcess is decoupled from the CreateOrderEventListener process and other components could also have subscribed to the same event. 3. The OrderProcess has a correlated BPMN signal catch event within the event subprocess. In this case the correlation key is the orderId. This results in the OrderUpdatedEvent being received only by the originating OrderProcess. Note that other components could also subscribe to this event (i.e. EDN is not aware of the correlation). However only the BPM instance with the matching correlation key will receive the event. 1 2 3
  • 7. Samples are provided as-is with no warranty Page 7 of 7 6. Running the Sample To run the sample, log into Enterprise Manager (EM) and navigate to the Test Page for the BpmEdnIntegrationSample project. Enter an orderId and then select “Test Web Service”. In the audit trail you will see: 1. The publishing of the OrderCreatedEvent, which causes an instance of the CreateOrderEventListener process to be created. 2. The OrderUpdateEvent being published and received by the original OrderProcess, which then results in the human task being withdrawn (from within the event subprocess).