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 » Encoding issue in MQ queue message

Post new topic  Reply to topic
 Encoding issue in MQ queue message « View previous topic :: View next topic » 
Author Message
Ketan
PostPosted: Fri Oct 22, 2010 2:10 am    Post subject: Encoding issue in MQ queue message Reply with quote

Newbie

Joined: 22 Oct 2010
Posts: 2

Hi Team,

We have written a MDB for listening to MQ queue. And we have deployed it on Weblogic 10.3.

The MQ messages are encoded in MQIMSV format. When we read these messages in String format junk characters appear in the message.
We reached the MQ admin and he applied mqgmo_convert encoding at host side. When we read these messages in String format, messages are received in right format. But the admin is not applying mqgmo_convert encoding permenantely on the host.

We need other alternative at the client side to solve this issue.
We need to have some way to specify this convert type (mqgmo_convert) while getting message off the queue.

Can you please help us to solve this issue?

Thanks,
Ketan
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Oct 22, 2010 5:16 am    Post subject: Re: Encoding issue in MQ queue message Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Ketan wrote:
We need to have some way to specify this convert type (mqgmo_convert) while getting message off the queue.


At the risk of sounding like I've missed the obvious, what's the problem with using an MQGetMessageOption_convert when getting messages off the queue?


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Ketan
PostPosted: Fri Oct 22, 2010 10:50 am    Post subject: Reply with quote

Newbie

Joined: 22 Oct 2010
Posts: 2

Hello Vitor,

Thanks for replying. Can you give some coding example for it?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Oct 22, 2010 11:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Ketan wrote:
Thanks for replying. Can you give some coding example for it?


You add that option. Literally. If you can't do that without an example....
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Encoding issue in MQ queue message
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.