Author |
Message
|
lodha13 |
Posted: Fri May 18, 2012 5:01 am Post subject: backout changes CCSID value |
|
|
Novice
Joined: 17 May 2012 Posts: 24
|
Hi
I am processing a group message in which there 4 messages. Out of them one is poison message(leads to 2111 error). My application process first 2 messages successfully at the 3 msg it throws error(2111 as expected) and I call backout at this exception which puts all the messages back to the queue again (as it is a group). Now the queue has 4 msg
I am printing the value of charset and encoding of the message when it is read.
Issues
1) The charset for good message is different in my application and when I browse in WMQ Explorer.
2) When putting back the message on backout(). the charset changes. but it is still same as before in WMQ Explorer.
Thanks
Abhishek |
|
Back to top |
|
 |
Vitor |
Posted: Fri May 18, 2012 5:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
This is the same problem you described here. You won't get different answers asking the question a different way, especially when you didn't answer all the questions you were originally asked! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri May 18, 2012 5:06 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
MQRC 2011 is clearly documented (try searching google). The message creator needs to set the correct CCSID of the so-called poison message. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
lodha13 |
Posted: Fri May 18, 2012 5:48 am Post subject: |
|
|
Novice
Joined: 17 May 2012 Posts: 24
|
yes, I have some charset set. But that charset changes when it put to the queue again as part of queueMGR.bakout() |
|
Back to top |
|
 |
Vitor |
Posted: Fri May 18, 2012 5:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lodha13 wrote: |
yes, I have some charset set. But that charset changes when it put to the queue again as part of queueMGR.bakout() |
We went through all this on your previous thread. Going through this again will not help.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri May 18, 2012 6:17 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
lodha13 wrote: |
But that charset changes when it put to the queue again as part of queueMGR.bakout() |
The base MQI call MQBACK doesn't do an MQPUT to undo a unit-of-work. The base MQGET _SYNCPOINT merely marks the message un-gettable by any other app until the u-of-w completes with MQBACK. AFAIK, the MQBACK does not alter the CCSID of the message.
I'm not a Java/JMS person; so we'll have to wait until one comes by offer an authoritative opinion on what that Java/JMS does or doesn't do with CCSID on MQBACKout. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|