WebSphere Enterprise Service Bus for z/OS, Version 6.2.0 Operating Systems: z/OS


Setting the binding descriptor for a JMS Import binding

A JMS import binding can be passed the WebSphere® Transformation Extender data binding descriptor in either the JMSType or JMSProperties part of the message.

Before you begin

Use the WebSphere Transformation Extender JMS data binding for JMS, Generic JMS, and MQ JMS imports.

You can set the WebSphere Transformation Extender data binding descriptor on both the response and request messages for a JMS import.

About this task

Set the data binding descriptor on the response message for a JMS import when you want to configure the messages individually.

Set the data binding descriptor on the request message using the mediation flow component for a JMS import when you want to configure the messages individually.

If you do not need to configure messages individually, it is recommended that you use the custom properties within the binding itself to make the association with WebSphere Transformation Extender.

Procedure
  1. Configure the request message using the mediation flow component.
  2. Configure the response message. There are two ways to configure the response:
    Option Example
    Set the JMSType in the incoming message
    jmsMessage.setJMSType("databinding://WTX/map?businessObject=Customer&contentType=COBOL");
    
    Set the JMS property called DataBindingDescriptor
    jmsMessage. setStringProperty (“DataBindingDescriptor”,“databinding://WTX/map?businessObject=Customer&contentType=COBOL”);

    These properties are set when the client sends a message to WebSphere ESB.


task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.zseries.doc/doc/tadm_setwtxstreamjmsimp.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).