Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JMS client to non-JMS client comms

Status
Not open for further replies.

dpirie

Programmer
Nov 2, 2000
1
GB
I've just started using IBM's JMS interface to MQSeries. When I send a message from a JMS client, a load of information gets tagged onto the front of the MQ message, which gets stripped off again if the message is received by another JMS client. The problem is, my existing non-JMS clients don't expect and can't handle this extra header. This seems to go against Sun's JMS spec, but I can't see any way to turn it off. Happens even with a BytesMessage.

Any ideas?
 
Check out the TARGCLIENT Property. You can set this to MQJMS_CLIENT_JMS_COMPLIANT or MQJMS_CLIENT_NONJMS_MQ.

This is documented in the manual MQSeries Using Java. Make sure you have the latest version!

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top