|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Headers |
« View previous topic :: View next topic » |
Author |
Message
|
dwitherspoon |
Posted: Tue Dec 09, 2003 5:54 am Post subject: Headers |
|
|
 Acolyte
Joined: 09 Dec 2003 Posts: 59
|
I've got a JMS application that reads messages from a queue and processes them. They are deposited in the queue by a COBOL application a thousand miles away. Occasionally, the COBOL app has done something to a message that causes my JMS app to get a MalformedMessageException, with the details saying that the RFH2 header is bad.
I've got on of these things on the queue now, and I want to make some copies of it so that I can write some code to get the thing out of the way since JMS cannot even read it to receive it off the queue. So I wrote some non-JMS code to browse the message, and then put it to another queue.
Problem is, when I read that copy with my JMS app, I don't get the MalformedMessageException any longer. How is it that browsing a message and copying it to another queue fixes it?
Any ideas? I'm stumped... _________________ Good...Fast...Cheap. Choose any two. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 09, 2003 6:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Maybe your non-JMS code is doing data conversion that is "fixing" the issue with the RFH2 header. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Dec 09, 2003 7:02 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'd also suggest that you look the message over with the amqsbcg program. It might be interesting to see what a 'regular MQ' program sees in the message. |
|
Back to top |
|
 |
dwitherspoon |
Posted: Tue Dec 09, 2003 9:53 am Post subject: |
|
|
 Acolyte
Joined: 09 Dec 2003 Posts: 59
|
You know what, I was shooting myself in the foot! I forgot that my JMS app is using a selector, so the message I thought I was copying to another queue was not the one with the bad RFH2 header after all.
D'oh! Thanks for the suggestions though! _________________ Good...Fast...Cheap. Choose any two. |
|
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
|
|
|
|