WebSphere

Accessing MQIIH headers

MQIIH headers, in a message received from IMS™ through the MQ-IMS Bridge, can be read using the MQ Header Setter mediation primitive.

About this task

To access MQIIH information in a message received from IMS through the MQ-IMS Bridge, use the MQ Header Setter mediation primitive by completing the following steps.
Note: these steps provide an overview, they do not include all instructions for creating a complete mediation module. For complete instructions on how to construct a mediation module, refer to the WebSphere® Integration Developer documentation.
Procedure
  1. The integration developer creates and exports a mediation module by completing the following steps.
    1. Create and configure a mediation module containing an MQ Header Setter mediation primitive. Use WebSphere Integration Developer to create a mediation module. Click this link to go to the topic for WebSphere Integration Developer.
    2. Add an MQ Header Element. Follow any instructions to add a dependency, from the module to the MQ schemas. Then set the MQ Header Setter properties in the following way:
      • Header Action: Find and Copy.
      • Header Type: MQIIH.
      • Target Destination: XPath expression defining where the MQIIH header should be copied to. After the header has been copied to the target destination, later mediation primitives can inspect or process it.
      Click this link to go to the topic for WebSphere Integration Developer.
    3. Export the mediation module. From WebSphere Integration Developer export the mediation module as an EAR file. Click this link to go to the topic for WebSphere Integration Developer.
  2. The runtime administrator deploys and administers the mediation module by completing the following steps.
    1. Deploy the mediation module. Use the runtime administrative console to install the EAR file as a new application. If you have promoted the Validate input property, you can change its value during deployment. Click this link to go to the topic for WebSphere ESB. Click this link to go to the topic for WebSphere ESB for z/OS. Click this link to go to the topic for WebSphere Process Server. Click this link to go to the topic for WebSphere Process Server for z/OS.
    2. Check that message validation is set. You can check and set the values of promoted properties using the runtime administrative console. You can control message validation by turning the Validate input property on and off. Click this link to go to the topic for WebSphere ESB. Click this link to go to the topic for WebSphere ESB for z/OS. Click this link to go to the topic for WebSphere Process Server. Click this link to go to the topic for WebSphere Process Server for z/OS.
    3. Start the application associated with the mediation module. Use the administrative console to start the application associated with the SCA module (mediation modules are types of SCA modules). Click this link to go to the topic for WebSphere ESB. Click this link to go to the topic for WebSphere ESB for z/OS. Click this link to go to the topic for WebSphere Process Server. Click this link to go to the topic for WebSphere Process Server for z/OS.

Results

When a service request invokes your mediation module, the MQIIH header is copied to the target element specified by the Target Destination XPath expression.

task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 20 June 2010 00:38:48 BST (DRAFT)


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wbpm.scenarios.esb1.620.doc/tasks/twesb_usecaseMQheaders4.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).
iDoc on