Using JMS Message Headers in Outbound Messages

Add a JMS message service to your business process to propagate JMS header field data from inbound messages to outbound messages.

  1. Create a New Project from Template using the WorkSpace Project with Schemas template.
  2. Create a service with a business process endpoint binding.
  3. Define a Reply To Address Business Process variable to capture the JMS inbound message data:
    1. Expand the Business Process Variables section.
    2. Select operation1Request in the business process canvas
    3. Right-click Local Variables and select New variable.
    4. Name the variable. Select newVariable# from the Local Variables list, expand Properties, and enter a variable name in the Name field, such as JMSHdrCtxt.
    5. Define the datatype. Select Reply-To Address.
    6. Select operation1Request in the business process canvas again.
    7. Select the JMSHdrCtxt variable from the Reply-To-Address Variable drop-down menu.
    8. Select File > Save from the main menu bar.
  4. Add a JMS service to the business process:
    1. Create a message service that uses a JMS transport.
    2. Open the Service Explorer, expand the messagesService you just created, and navigate to its operations.
    3. Drag the operation onto the canvas to the correct location.
    4. Select the message service on the canvas to define its properties.
    5. Select JMSHdrCtxt variable from the Reply-To-Address Variable drop-down menu in the Properties section.
  5. Select File > Save from the main menu bar.
Related tasks
Using Default JMS Message Header Information in a Business Process

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.