JMS Headers

A JMS Header is a service data object (SDO) that contains all the properties of the JMS Message properties. These properties can be from the inbound message or they can be the properties that will be applied to the outbound message.

The JMS Headers are provided using the system programming interface, consequently you set or get the JMS Headers by accessing the service component architecture Message. You cannot set or get the JMS header from a client program. You can however use an ESB Mediation to retrieve the JMS Header values or set them on an outgoing request.

JMS Header and JMS Message properties are only used when the base service component architecture SCDL binding switch is turned on. When the switch is turned on, context information is propagated. By default, this switch is on. To prevent context information propagation change the value to false.

When context propagation is enabled, header information is allowed to flow to the message or to the target component. To turn on and off context propagation: specify true or false for the contextPropagationEnabled attribute of the Import and Export bindings. For example:
<esbBinding xsi:type="eis:JMSImportBinding" contextProgagationEnabled="true">
The default is true.

Last updated: Wed 06 Dec 2006 07:08:08

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)