|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WBM - Set value of MQMD.ApplIdentityData |
« View previous topic :: View next topic » |
Author |
Message
|
br_other |
Posted: Wed Mar 17, 2010 5:06 am Post subject: WBM - Set value of MQMD.ApplIdentityData |
|
|
Newbie
Joined: 16 Mar 2010 Posts: 7
|
Hello all.
I'm brand new in MB, therfore I need some help.
The scenario is as it follows:
SOAP Input --> Trace --> MQHeader Node --> Compute --> Trace --> MQOutput
In the compute node I have to remove the HTTP header and set 2 value of 2 fields in MQMD header - ApplIdentityData and ApplOriginData.
In the compute node I use the following ESQL code:
Code: |
SET OutputRoot.MQMD.ApplIdentityData = 'MY_APPLICATION';
SET OutputRoot.MQMD.ApplOriginData = '11';
SET OutputRoot.MQMD.ReplyToQMgr = 'TEST'; |
The traced messge do contain that fields and they are set properly, but in the queue message they are empty, but in other hand the ReplyToQMgr is set and there are no issues.
Below you can find sample of the message.
Thank you in advance,
Regards.
-----------------------------------
Code: |
Root : ( ['SOAPRoot' : 0x100caf818]
(0x01000000):Properties = ( ['MQPROPERTYPARSER' : 0x106825798]
..
<Properties>
..
)
(0x01000000):MQMD = ( ['MQHMD' : 0x100cb0838]
(0x03000000):Encoding = 273 (INTEGER)
(0x03000000):CodedCharSetId = 0 (INTEGER)
(0x03000000):Version = 2 (INTEGER)
(0x03000000):Report = 0 (INTEGER)
(0x03000000):MsgType = 8 (INTEGER)
(0x03000000):Expiry = -1 (INTEGER)
(0x03000000):Feedback = 0 (INTEGER)
(0x03000000):Priority = -1 (INTEGER)
(0x03000000):Persistence = 0 (INTEGER)
(0x03000000):MsgId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):ReplyToQ = '' (CHARACTER)
(0x03000000):ReplyToQMgr = 'TEST' (CHARACTER)
(0x03000000):Transactional = FALSE (BOOLEAN)
(0x03000000):PutDate = DATE '2010-03-16' (DATE)
(0x03000000):PutTime = GMTTIME '15:06:07.153' (GMTTIME)
(0x03000000):ApplIdentityData = 'MY_APPLICATION' (CHARACTER)
(0x03000000):ApplOriginData = '11' (CHARACTER)
)
(0x01000000):XMLNSC = ( ['xmlnsc' : 0x100cb1048]
..
<DATA>
..
)
) |
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 17, 2010 5:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Review the settings of your MQOutput node to ensure that you are enabling it to set the right context. |
|
Back to top |
|
 |
br_other |
Posted: Wed Mar 17, 2010 5:29 am Post subject: |
|
|
Newbie
Joined: 16 Mar 2010 Posts: 7
|
Thank you for the swift replay!
The seetings in the MQOuput are as it follows (Advanced tab)
Message Cotext: Set All
Destination mode: Queue Name
Transation mode: No
Persistance mode: Yes
New Message ID, New correlation ID, Segmenations allowed and Alternate use auth are OFF.
I have lost couple of days fighting this problem, therefore any help or suggestion is more than welcome. |
|
Back to top |
|
 |
harish_td |
Posted: Sun Mar 21, 2010 8:28 pm Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
What happens when you set the Message Context within the Advanced tab of the MQOutput node to Set All? |
|
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
|
|
|
|