WebSphere WebSphere Application Server Version 6.1.x Feature Pack for Web Services Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Specifying 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.

Before you begin
This task assumes that you have created an alias bus destination or a foreign bus destination. For more information, see Creating an alias bus destination or Creating a foreign bus destination.
About this task
You only need to 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 you do not configure _MQRFH2Allowed, the default value is NO, and an MQRFH2 header is not added to the message. WebSphere Application Server Version 5 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 How service integration converts 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 administrative console to complete the following steps:

Procedure

  1. Display the context properties for a selected foreign or alias destination:
    1. In the content pane, click the name of the service integration bus
    2. In the content pane, under Destination resources, click Destinations.
    3. In the content pane, select the foreign or alias destination for which you want to create the context property.
    4. 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 selection 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
Related reference
How service integration converts the message body to and from WebSphere MQ format
How service integration converts the message header fields and properties to and from WebSphere MQ format
Mapping of additional MQRFH2 header fields in service integration

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 27 November 2008
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.wsfep.multiplatform.doc/tasks/tjo0050_.html

Copyright IBM Corporation 2004, 2008. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)