Posted: Mon May 29, 2006 3:17 am Post subject: Re: Setting Expiry time in MQMD
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
praveenraju wrote:
Hi,
I am getting an input message through HTTP. I am transforming the message and posting to a MQ. Before posting to MQ i am setting the expiration time usingt he following code.
Set OutputRoot.MQMD.Expiry = CAST(1800 AS INTEGER); This value of 1800 i am getting from DB...
But when i see the actual message that gets posted to MQ, the value of the expiration time is -1. The value that we set in the code does not get reflected in the message. THis we are able to see through the trace nodes.
How can i set the value of the expiry time exactly. Is the code that i had written above wrong? Or is it that expiry time is read only and so we are not able to set the expiry time properly?
Pls help,
Praveen
Have you looked at OutputRoot.Parameters ? _________________ MQ & Broker admin
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