Databases Reference
In-Depth Information
EDN publishing patterns with SOA Suite
The table in this section summarizes the different ways in which events may be
published within the SOA Suite depending on the requirement.
Requirement
Pattern
Publish an event on
receipt of a message
A Mediator can achieve this by implementing the target service
interface and passing the message through the target while
adding a publish event item in sequence.
Publish an event on a
synchronous message
response
A BPEL process can achieve this by implementing the target
service interface and passing the message through the target and
passing the response back to the caller. Either before or after the
return to the caller, the process can publish an event item using
data from the response.
Publish an event on a
synchronous message
request and reply
A BPEL process can achieve this by implementing the target
service interface and passing the message through the target and
passing the response back to the caller. Either before or after the
return to the caller, the process can publish an event item using
data from the request and the response.
Publish an event on an
asynchronous response
A BPEL process can achieve this by implementing the async
interface, and before or after passing the message from the target
back to the caller, it can publish an event item using data from
the response.
Publish an event on an
asynchronous message
request and reply
A BPEL process can achieve this by implementing the target
service interface and the callback interface and passing the
message through the target and passing the callback back to the
caller. Either before or after the callback to the caller, the process
can publish an event item using data from the request and
the response.
Publish an event on an
event
A Mediator can achieve this by subscribing to an event and then
publishing an event.
We will now look at how each of these patterns may be implemented.
 
Search WWH ::




Custom Search