|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Encoding issue in MQ queue message |
« View previous topic :: View next topic » |
Author |
Message
|
Ketan |
Posted: Fri Oct 22, 2010 2:10 am Post subject: Encoding issue in MQ queue message |
|
|
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 |
|
 |
Vitor |
Posted: Fri Oct 22, 2010 5:16 am Post subject: Re: Encoding issue in MQ queue message |
|
|
 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 |
|
 |
Ketan |
Posted: Fri Oct 22, 2010 10:50 am Post subject: |
|
|
Newbie
Joined: 22 Oct 2010 Posts: 2
|
Hello Vitor,
Thanks for replying. Can you give some coding example for it? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 22, 2010 11:33 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|