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

Similar to Bpm

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
 
Deploying GFI EventsManager™
Deploying GFI EventsManager™Deploying GFI EventsManager™
Deploying GFI EventsManager™GFI Software
 
University of Gujrat Lahore sub Campus Documentation FYP
University of Gujrat Lahore sub Campus Documentation FYPUniversity of Gujrat Lahore sub Campus Documentation FYP
University of Gujrat Lahore sub Campus Documentation FYPrashidalyasuog
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docVERUS BRASIL
 

Similar to Bpm (20)

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
 
Deploying GFI EventsManager™
Deploying GFI EventsManager™Deploying GFI EventsManager™
Deploying GFI EventsManager™
 
Trytond-SugarCRM integration
Trytond-SugarCRM integrationTrytond-SugarCRM integration
Trytond-SugarCRM integration
 
develop_a_first_process_application_2013
develop_a_first_process_application_2013develop_a_first_process_application_2013
develop_a_first_process_application_2013
 
University of Gujrat Lahore sub Campus Documentation FYP
University of Gujrat Lahore sub Campus Documentation FYPUniversity of Gujrat Lahore sub Campus Documentation FYP
University of Gujrat Lahore sub Campus Documentation FYP
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.doc
 

More from XAVIERCONSULTANTS (20)

Bpmedn
BpmednBpmedn
Bpmedn
 
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
 
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

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
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
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
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
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
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
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
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
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
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
 
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
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
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
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
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
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
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
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
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
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
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...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
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
 
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
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
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...
 

Bpm

  • 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).