Database Reference
In-Depth Information
One
request,
a
mandatory
response,
and
an
optional response
The client service sends a single request and receives one or more responses. One
response must be immediate; the other responses may be delayed.
In this case, a Scope activity is used to group the Invoke activity to send the request
and the Receive activity to accept the mandatory response. The OnMessage hand-
ler of the Scope activity is set to accept the optional message and the instructions
on what to do if the optional message is received. The client will wait for the man-
datory reply and continue receiving the same without waiting further for any optional
response. The BPEL service also uses the onAlarm handler or the Scope activity to
send the optional delayed message if the timer expires.
One-way message
The client sends the message, and the service does not reply. This pattern can be
used for sending updates to a service with data, and it requires no response in re-
turn. As shown in the next figure, the implementation of the one-way message can
bedoneusingaMediatorclient,BPELcomponent,orOracleEnterpriseServiceBus.
Search WWH ::




Custom Search