Message exchanges

In scenarios where operations are invoked using the request/response pattern, we always have a situation where an inbound message activity has to be related with a reply activity. The inbound message activity can be a<receive>, <onMessage>, or<onEvent>. The reply activity is always a<reply>. In most cases, the BPEL engine will figure out itself which reply activity relates to which inbound message activity. However, if there can be more than one pair of inbound message activities (<receive>,<onMessage>, or<onEvent>) and<reply>, we have to explicitly mark the pairing relationship. We do this using message exchanges.

To use message exchanges, we first have to declare them. We declare message exchanges immediately after partner ...

Get WS-BPEL 2.0 for SOA Composite Applications with IBM WebSphere 7 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.