WAS v8.5 > Administer applications and their environment > Welcome to administering Service integration > Administer bus destinations > Configure bus destinations > Configure bus destination properties

Specify whether messages are forwarded to WebSphere MQ as JMS messages

Use this task to create a destination context property that determines whether an MQRFH2 header is added to WebSphere MQ JMS messages produced by foreign or alias destinations.

This task assumes that we have created an alias bus destination or a foreign bus destination. For more information, see Create an alias destination on a bus or Create a foreign destination on a bus.

Carry out this task if you want JMS messages produced by foreign bus destinations or alias bus destinations forwarded to WebSphere MQ. In this task, you define a destination context property called _MQRFH2Allowed that adds an MQRFH2 header to JMS messages. If we do not configure _MQRFH2Allowed, the default value is NO, and an MQRFH2 header is not added to the message. WAS v5.1 users may be aware of a WebSphere MQ flag called TARGCLIENT that was used to add RFH2 headers to JMS messages. For more information about the use of the MQRFH2 header in interoperating with WebSphere MQ, see Map the message body to and from WebSphere MQ format and Point-to-point messaging with a WebSphere MQ network.

To create and configure a context property called _MQRFH2Allowed on a foreign or alias destination, use the dmgr console to complete the following steps:

  1. Display the context properties for a selected foreign or alias destination:

    1. Click Service integration -> Buses -> bus_name -> [Destination resources] Destinations.

    2. Select the foreign or alias destination for which to create the context property.

    3. Under Additional Properties, click Context properties.

  2. Click New to create a new context property.

  3. Specify the following context information:

    Name

    Type the name _MQRFH2Allowed.

    Context type

    Select the information type Boolean in the drop-down list.

    Context value

    Type the value true .

  4. Click OK.

  5. Save your changes to the master configuration.


Results

An MQRFH2 header is added to all messages produced by the foreign or alias destination. This means that JMS messages will be forwarded to WebSphere MQ as JMS messages.


Related concepts:

Point-to-point messaging with a WebSphere MQ network


Reference:

Map the message body to and from WebSphere MQ format
Map the message header fields and properties to and from WebSphere MQ format
Map additional MQRFH2 header fields in service integration
Map the JMS delivery option and message reliability to and from the WebSphere MQ persistence value


Related information:

Context properties [Collection]
Context properties [Settings]


+

Search Tips   |   Advanced Search