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 » WebSphere Message Broker (ACE) Support » MQSI V202 Publish Integer Encoding Bug?

Post new topic  Reply to topic
 MQSI V202 Publish Integer Encoding Bug? « View previous topic :: View next topic » 
Author Message
martin
PostPosted: Thu Sep 27, 2001 5:37 am    Post subject: Reply with quote

Novice

Joined: 09 Aug 2001
Posts: 17
Location: Charlotte, NC

I am the recipient of MQSI produced datagram publishes entirely on an NT environment. The datagrams I receive have an MQMD header with format = MQHRF2 and encoding = MQC.MQENC_INTEGER_NORMAL (Big-endian). The MQHRF2 header in the message body has MQLONGs that are MQC.MQENC_INTEGER_REVERSED (Little-endian). If I have to deal directly with this mismatch, I can set the encoding before reading as in this example to get the RF2 header length:

requestMsg.seek(; requestMsg.encoding = MQC.MQENC_INTEGER_REVERSED;
int mQHRF2Length = requestMsg.readInt4();

However, when I am in a more restrictive situation such as using an MQAO adapter with it's own readers and formatters, I get errors like: 2119 MQRC_NOT_CONVERTED on the MQGET. I believe (but do not know) this may be related to the mismatch. If it is the MQAO dev. would insist that the MQSI dev. fix the datagram.

Have I misinterpreted all this or is MQSI building invalid datagrams?

Thanks for any ideas,

P.S. Terminology Primer:
Big-e=BigEndFirst=Host=Normal =5=00000005
Lit-e=LitEndFirst=PCs =Reversed=5=05000000
Back to top
View user's profile Send private message
martin
PostPosted: Thu Sep 27, 2001 11:28 am    Post subject: Reply with quote

Novice

Joined: 09 Aug 2001
Posts: 17
Location: Charlotte, NC

Just an update....

I discovered it was possible to override the MQSI default and place a value of MQC.MQENC_INTEGER_REVERSED or 2 in the MQMD encoding field.

MQAO is happy now....
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 » WebSphere Message Broker (ACE) Support » MQSI V202 Publish Integer Encoding Bug?
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.