ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Message Format

Post new topic  Reply to topic
 Message Format « View previous topic :: View next topic » 
Author Message
dynamiccoins
PostPosted: Thu Jan 12, 2006 1:39 am    Post subject: Message Format Reply with quote

Newbie

Joined: 12 Jan 2006
Posts: 1

Firstly I'd better explain. I'm in a situation where as a non Java programmer, I am trying to troubleshoot an issue which has landed on my desk. I hope my asking this question is OK, but no doubt I'll soon find out if it isn't!!

Here we go.... an application is writting messages to a queue and using the MQFMT_STRING format. On the receiver side JMS is used. Now as I understand it, JMS uses the format field to determine the message class (byte, text etc). If no format is specified then a default of MQFMT_NONE, which JMS takes as format byte.

I also understand that MQFMT_STRING is taken as Text in JMS.

Now my problem is that the receiver is claiming they are seeing lots of messages which have no format set and therefore JMS cannot map these into a JAVA object.

Any MQFMT_STRING formats are processed successfully.

So, after all that, my question is...is there a way I can get them to dump out the message to see its details? I'm acting as a man in the middle here and am currently going nowhere fast!

Any other ideas gratefully received !!!

Thanks for the help, and I apologise in advance if anyone thinks this is out of place here.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Jan 12, 2006 2:01 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

there are some samples that come with mqseries like amqsbcg which you can use to browse a queue and see header details. there are also supportpacs around that may be used to check the content of messages in a queue like the q program, mo71 and so on (which can be found on the supportpac page)
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Message Format
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.