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 » WebSphere Message Broker (ACE) Support » Setting Expiry time in MQMD

Post new topic  Reply to topic
 Setting Expiry time in MQMD « View previous topic :: View next topic » 
Author Message
fjb_saper
PostPosted: Mon May 29, 2006 3:17 am    Post subject: Re: Setting Expiry time in MQMD Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
kspranava
PostPosted: Tue May 30, 2006 10:39 pm    Post subject: Reply with quote

Centurion

Joined: 27 Apr 2003
Posts: 124

Hi,

Both of the following will work fine

SET OutputRoot.MQMD.Expiry = CAST('1800' AS integer);
or
SET OutputRoot.MQMD.Expiry = 1800;

I suspect something in your code,

Quote:
Set OutputRoot.MQMD.Expiry = CAST(1800 AS INTEGER);


Please have a relook.

-kspranava.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Setting Expiry time in MQMD
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.