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 Msg Expiry in MB

Post new topic  Reply to topic
 Setting Msg Expiry in MB « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Tue Dec 04, 2007 10:42 am    Post subject: Setting Msg Expiry in MB Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi Guys,
I want to implement the message expiry in my flow. If I dont receive the input message within the defined time(lets say 10 sec), the message should be discarded.

Can anybody share your thoughts on this?.

Right now in my incoming message, I can see "MQMD.Expiry = -1"

Thanks much.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 04, 2007 11:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That means the sending application hasn't set an expiry.

So you need to change the sending application to set an expiry, if you want your MQInput node not to receive "old" messages.

You can write ESQL to set the expiry on messages that go to an MQOutput node.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Tue Dec 04, 2007 11:20 am    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

jefflowrey wrote:
That means the sending application hasn't set an expiry.

So you need to change the sending application to set an expiry, if you want your MQInput node not to receive "old" messages.

You can write ESQL to set the expiry on messages that go to an MQOutput node.


Hi Jeff,
I am using the request/reply scenario.

I want to discard the response message(which is input to my Reply message flow) from the Service if I dont receive it in 10 sec.

Do I need to change the MQMD parameters in my Reply message flow to achieve this?.

Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 04, 2007 11:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to change the reply flow to set an expiry.

Or you can try setting an expiry on the request, and hope that the reply server follows the design pattern and passes or updates expiry appropriately.
_________________
I am *not* the model of the modern major general.
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 Msg Expiry in MB
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.