Posted: Tue Nov 28, 2006 4:52 am Post subject: HTTPRequestIdentifier into MsgId
Newbie
Joined: 04 Jul 2006 Posts: 6
Hi everyone,
I'm trying to put the requestIdentifier into the MsgId in the MQMD header. I set the Report option in ESQL to 128(pass msgId) only the MsgId gets overwritten as soon as the broker puts the message onto a queue...
Code:
SET OutputRoot.MQMD.Report = 128;
SET OutputRoot.MQMD.MsgId = InputLocalEnvironment.Destination.HTTP.RequestIdentifier;
Above is the code I use(has altered a few times) but it doesn't work..It's probably something that I have missed as I've seen some people on this forum who have this working...
First off, you need to make sure that you aren't trying to insert more than 24 bytes into MsgId.
Second, you should reconsider populating the MsgId at all.
Third, you should make sure that your MQOutput node doesn't have conflicting settings - for instance a check mark in the "new msgid" box. _________________ I am *not* the model of the modern major general.
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