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 » Having trouble with IIH/LLZZ headers for IMSBrigde

Post new topic  Reply to topic
 Having trouble with IIH/LLZZ headers for IMSBrigde « View previous topic :: View next topic » 
Author Message
Kikegg
PostPosted: Wed Mar 12, 2003 7:41 am    Post subject: Having trouble with IIH/LLZZ headers for IMSBrigde Reply with quote

Newbie

Joined: 12 Mar 2003
Posts: 1

Hello all, I'm having a lot of trouble reading a message with IIH/LLZZ headers. This is the code (excerpt) I'm using.

For the IIH struct
Code:

        iihStructId       = mensaje.readString(4);
        iihVersion        = mensaje.readInt4();
        iihStructLength   = mensaje.readInt4();
        iihEncoding       = mensaje.readInt4();
        iihCodedCharSetId = mensaje.readInt4();
        iihFormat         = mensaje.readString(8);
        iihFlags          = mensaje.readInt4();
        iihLTermOverride  = mensaje.readString(8);
        iihMFSMapName     = mensaje.readString(8);
        iihReplyToFormat  = mensaje.readString(8);
        iihAuthenticator  = mensaje.readString(8);
        iihTranInstanceId = mensaje.readString(16);
        iihTranState      = mensaje.readString(1);
        iihCommitMode     = mensaje.readString(1);
        iihSecurityScope  = mensaje.readString(1);
        iihReserved       = mensaje.readString(1);


and this for the LLZZ:
Code:

       llzzLongitud = mensaje.readShort();
       llzzReserved = mensaje.readShort();


I'm almost sure that's the way to read an IMSBrigde message.

Any tip and/or help very appreciated.

Thanx, Enrique.
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Mar 12, 2003 1:05 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

What kind of problems are you having? There are some IMS Bridge related java programs at:

http://www.developer.ibm.com/tech/sampmq.html

They are called imsbridge.java and JmsIMSBridge.java. They look like they are doing the exact opposite of what you are doing. If you can give a specific error, it will help figure out what is going wrong.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Having trouble with IIH/LLZZ headers for IMSBrigde
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.