Posted: Wed Oct 21, 2009 12:27 am Post subject: MQ header version 1
Newbie
Joined: 21 Oct 2009 Posts: 2
Hello,
so far we used java to send messages to several queues - now a client is unable to process header version 2 messages.
Therefore we changed the version by
msg.setVersion(MQC.MQMD_VERSION_1);
When putting the message we are provided the error
MQJE001: Completion Code 2, Reason 2257
This although we disabled all setting of options and formats.
Posted: Wed Oct 21, 2009 4:01 am Post subject: Re: MQ header version 1
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
kagerer wrote:
so far we used java to send messages to several queues - now a client is unable to process header version 2 messages.
Why? What error did they get?
kagerer wrote:
Therefore we changed the version by
msg.setVersion(MQC.MQMD_VERSION_1);
Why? What led you to believe this would help?
kagerer wrote:
When putting the message we are provided the error
MQJE001: Completion Code 2, Reason 2257
I can't say I'm surprised.
kagerer wrote:
This although we disabled all setting of options and formats.
Why? What led you to believe this would help? Certainly if using Java (and presumably JMS) not setting a string format will cause problems. _________________ Honesty is the best policy.
Insanity is the best defence.
1. The problem is, they only have version 1 application in place - as version 2 header is longer - they are processing this header as data - which causes problems.
Quote:
Why? What led you to believe this would help?
2. I was told by MQ Support - that setting this version is changing the header to version 1. They are not able to provide information on which other fields have to be adjusted - and I do not find any documentation for version 1 headers.
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