WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Working with the message header

This topic describes how to add function to a preexisting mediation handler to operate on the message header.

Before you begin
Before you start this task, you should have created the basic mediation handler in an EJB project (see Writing a mediation handler. It will be useful to have understood the elements of the task Working with the message payload, because some of those elements are used in this task
About this task

There are different types of field that you can set in message headers. Importantly, you can set the forward and return routing addresses for messages after they have been mediated at the current destination. In addition there are other fields that you can set, such as priority and reliability for the message and its reply, and the remaining time before the message (or the reply) expires.

Procedure

  1. To set routing addresses in the message header, see Setting routing addresses in a message header.
  2. To set all other fields in the message header, see Working with non-routing path fields in a message header.

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/tasks/tjy1502.html

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