¤ÈäîAdding Message Exchange Attributes
See Also
Message Exchange is an optional attribute used to explicitly associate a Reply activity with inbound message activities, such as a Receive activity, the onEvent elements of Event Handlers containers, or the onMessage element inside a Pick activity. The Message Exchange attribute is defined when a BPEL process has multiple simultaneously incomplete inbound message activities, which require a reply message to be completed. You can define multiple Message Exchange attributes for a business process.
Before adding Message Exchange attributes to elements, you need to define at least one Message Exchange for a Scope element or the entire Process.
- The attributes added to a Scope element are visible only for the elements inside this Scope (local visibility). The attributes added to the Process can be used for all elements of this business process (global visibility).
- The same Message Exchange value can be simultaneously used for several activities. In this case, the combinations of Partner Links and operations should all be different one from another.
To add a Message Exchange attribute to Scope or Process:
- Right-click the Scope or Process element and choose Add > Add Message Exchange.
- A Message Exchange attribute with an automatically generated name (e.g., MessageExchange1, MessageExchange2, etc.) is added. You can view the new Message Exchange under the Process or corresponding Scope nodes in the Navigator window.
To add a Message Exchange attribute to an element:
- Select an element (for example, Receive or onEvent inside an Event Handlers container) on the diagram.
- In the Properties window, select the Message Exchange property and click the ellipsis (...) button.
- In the list of defined Message Exchange attributes, select the one you want to add and click OK.
The Message Exchange attribute is added to the selected element.
- On the diagram, select the Reply element that you want to associate with the first element and add the same Message Exchange attribute as you did in Steps 1--3.
To delete a Message Exchange attribute:
- In the BPEL Logical View of the Navigator window, expand the Process node or the corresponding Scope node.
- Under the Message Exchanges subnode, right-click the Message Exchange and choose Delete.
- See Also
- Reply
- Receive
- Pick
Legal Notices