¤Èäî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.

To add a Message Exchange attribute to Scope or Process:

  1. Right-click the Scope or Process element and choose Add > Add Message Exchange.
  2. 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:

  1. Select an element (for example, Receive or onEvent inside an Event Handlers container) on the diagram.
  2. In the Properties window, select the Message Exchange property and click the ellipsis (...) button.
  3. 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.
  4. 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:

  1. In the BPEL Logical View of the Navigator window, expand the Process node or the corresponding Scope node.
  2. Under the Message Exchanges subnode, right-click the Message Exchange and choose Delete.
See Also
Reply
Receive
Pick

Legal Notices