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 » reg. getting BytesMessage from a queue

Post new topic  Reply to topic
 reg. getting BytesMessage from a queue « View previous topic :: View next topic » 
Author Message
raghav
PostPosted: Wed Aug 10, 2005 6:40 am    Post subject: reg. getting BytesMessage from a queue Reply with quote

Novice

Joined: 15 Apr 2005
Posts: 24

Hi,
We are facing problem while processing a message, got from a queue, which is of type BytesMessage.

(1) When the sender was keeping a string message in the queue, we are able to fetch the message properly and process it. But now when he change the message type we are facing problems.

Error:- We are getting an error with MQ code 2110.

Q)Is it problem with the message format sender sets to the message while he keeps the message in the queue?

If that is the case, can we handle that case without asking the sender to change the format. I mean can we set the format while we fetch the message and solve the problem.

(2)Assuming that the 1st problem is solved, now the 2nd problem is:-
Earlier when the sender was sending the message in the MQC.MQFMT_STRING format our application was working very much fine.

Now, with the sender sending the messages in the new format, what all changes we need to do at our end to work successfully?

Please reply back with suggestions / inputs asap.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Aug 10, 2005 7:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Why did the sender change the MQMD.Format ? Did they also change the data in the message or only the MQMD.Format field? Is the data in the message still a string?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Wed Aug 10, 2005 5:50 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And did they send it in the same language ? ASCI vs EBCDIC translation only works for MQSTR format...

Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » reg. getting BytesMessage from a queue
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.