+

Search Tips   |   Advanced Search


Programming to use JMS and messaging directly > Programming to use asynchronous messaging >

JMS and WebSphere MQ message structures


You must consider how the JMS message structure is mapped onto a WebSphere MQ message to transmit messages between JMS applications and traditional WebSphere MQ applications. This includes scenarios where you want to use WebSphere MQ to manipulate messages transmitted between two JMS applications; for example, using WebSphere MQ as a message broker.

By default, JMS messages held on WebSphere MQ queues use an MQRFH2 header to hold some of the JMS message header information.

Many traditional WebSphere MQ applications cannot process messages with these headers, and require their own characteristic headers, for example the MQWIH for WebSphere MQ Workflow applications.

See about how the JMS message structure is mapped onto a WebSphere MQ message, see the section "Mapping JMS to a native WebSphere MQ application" in the chapter "JMS Messages" of the WebSphere MQ Using Java™ book.



 

Related tasks


Programming to use message-driven beans
Develop applications to use JMS directly

 

Related


JMS interfaces