Posted: Sat Dec 02, 2006 3:19 am Post subject: Reading messages fro Native MQ client
Newbie
Joined: 04 Jul 2006 Posts: 2
Hi All,
I have a J2EE application which is supposed to read messages from another 3rd party application which sends XML messages to one of our local MQ Queues. This application uses native MQ API to write the messages, hence our application simply fails to read the messages and a check of (msg instanceof TextMessage) always returns false.
Point is that I cannot change the code for the remote application to send messages compliant for a JMS system.Also when I drain the messages from my queue I can see a XQH in the header , rather than an RFH header.I am pasting the part of the messages :
Not enough information on your setup. Are you picking up the message from a transmission queue?
At a glance I'd say native API has nothing to do with your inability to read the message. Your setup seems to be at fault... _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum