Posted: Wed Jun 04, 2008 12:44 pm Post subject: Can I somehow use MQGMO_CONVERT using JMS ?
Newbie
Joined: 04 Jun 2008 Posts: 1
Hello MQ Gang,
I need to retrieve some messages from an MQ queue which are encoded in EBCDIC (Codepage 500). I am currently constrained by using Spring (and therefore the JMS API) on the client side to pull the encoded messages from MQ. My question is how is it possible to specify to MQ to perform the conversion of the messages using vanilla JMS?
If I were just writing a java client using the IBM MQ API, I would specify the MQGMO_CONVERT in my 'get' options.
Can I accomplish the same conversion solely using the JMS API such as with JMS message headers ?
Posted: Wed Jun 04, 2008 3:24 pm Post subject: Re: Can I somehow use MQGMO_CONVERT using JMS ?
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
tbowens wrote:
Hello MQ Gang,
I need to retrieve some messages from an MQ queue which are encoded in EBCDIC (Codepage 500). I am currently constrained by using Spring (and therefore the JMS API) on the client side to pull the encoded messages from MQ. My question is how is it possible to specify to MQ to perform the conversion of the messages using vanilla JMS?
If I were just writing a java client using the IBM MQ API, I would specify the MQGMO_CONVERT in my 'get' options.
Can I accomplish the same conversion solely using the JMS API such as with JMS message headers ?
Thanks,
Brad
It's (get with convert) the default option for a JMS TextMessage
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