|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Header is not getting populated |
« View previous topic :: View next topic » |
Author |
Message
|
Poonam.Thawani |
Posted: Mon Jul 17, 2006 2:39 pm Post subject: Header is not getting populated |
|
|
Newbie
Joined: 17 Jul 2006 Posts: 1
|
Hi,
I am using following code for setting MQ series message header in java but its not getting populated?
Any suggestions are welcome
qMgr = new MQQueueManager(qManager);
int openOptions = MQC.MQOO_OUTPUT+MQC.MQOO_PASS_IDENTITY_CONTEXT;
MQQueue system_default_local_queue = qMgr.accessQueue(queue,openOptions);
//system_default_local_queue=qMgr.accessQueue(queue ,openOptions,null,null,null);
MQMessage sendXML = new MQMessage();
/*md.applicationIdData="LOGON";
md.userId="USTRESCHIRES2\\Srvuser";*/
sendXML.replyToQueueManagerName="MQDEV1";
sendXML.replyToQueueName="EXT.TO.AAB.FXPAY2.REPL";
//sendXML.userId="USTRESCHIRES2\\Srvuser";
sendXML.userId="FXPay";
sendXML.applicationIdData="LOGON";
sendXML.putApplicationName="LOGON";
sendXML.messageId="1LOGON".getBytes();
sendXML.writeUTF(strXML);
I am setting header applicationIdData as LOGON but its not set when message is posted to MQ.
Any suggestions are welcome.
Thanks,
Poonam |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Jul 17, 2006 8:59 pm Post subject: Re: Header is not getting populated |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Poonam.Thawani wrote: |
I am using following code for setting MQ series message header in java but its not getting populated?
int openOptions = MQC.MQOO_OUTPUT+MQC.MQOO_PASS_IDENTITY_CONTEXT; |
Are your setting the fields or passing the fields??
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
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
|
|
|
|