|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting Msg Expiry in MB |
« View previous topic :: View next topic » |
Author |
Message
|
chris boehnke |
Posted: Tue Dec 04, 2007 10:42 am Post subject: Setting Msg Expiry in MB |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Dec 04, 2007 11:08 am Post subject: |
|
|
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 |
|
 |
chris boehnke |
Posted: Tue Dec 04, 2007 11:20 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Dec 04, 2007 11:24 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|