SlideShare a Scribd company logo
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 Bpmnt-102-edn-integration

Event driven network
Event driven networkEvent driven network
Event driven network
Harish B
 
Acceptance test plan_4-24-07
Acceptance test plan_4-24-07Acceptance test plan_4-24-07
Acceptance test plan_4-24-07
Virgiawan Lakstianto
 
Demonstrating caf.doc
Demonstrating caf.docDemonstrating caf.doc
Demonstrating caf.doc
Pavel Principe Orosco
 
Security Assessment Plan (Template)
Security Assessment Plan (Template)Security Assessment Plan (Template)
Security Assessment Plan (Template)
GovCloud Network
 
Sap template 050312
Sap template 050312Sap template 050312
Sap template 050312
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
 
Att E
Att EAtt E
Document Consistency Checker(2)
Document Consistency Checker(2)Document Consistency Checker(2)
Document Consistency Checker(2)
Danny Kedem Amenigy
 
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
Mauricio (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 5
Optimal 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.0
Saima 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 2013
keepcon-slides
 
Android web service client
Android web service clientAndroid web service client
Android web service client
Aravindharamanan S
 
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
Rohit Kelapure
 
Bpminto
BpmintoBpminto
Bpminto
xavier john
 
jms-integration
jms-integrationjms-integration
jms-integration
XAVIERCONSULTANTS
 
Bpminto
BpmintoBpminto

Similar to Bpmnt-102-edn-integration (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
 
jms-integration
jms-integrationjms-integration
jms-integration
 
Bpminto
BpmintoBpminto
Bpminto
 

More from XAVIERCONSULTANTS

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

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
 
Bpm
BpmBpm
Bpm
 
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

Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
aymanquadri279
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 

Recently uploaded (20)

Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 

Bpmnt-102-edn-integration

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