ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ header version 1

Post new topic  Reply to topic
 MQ header version 1 « View previous topic :: View next topic » 
Author Message
kagerer
PostPosted: Wed Oct 21, 2009 12:27 am    Post subject: MQ header version 1 Reply with quote

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.

thanks
Rainer
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 21, 2009 4:01 am    Post subject: Re: MQ header version 1 Reply with quote

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.
Back to top
View user's profile Send private message
kagerer
PostPosted: Wed Oct 21, 2009 4:28 am    Post subject: Reply with quote

Newbie

Joined: 21 Oct 2009
Posts: 2

Quote:
Why? What error did they get?

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.


3. Using Java without jms.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ header version 1
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.