Author |
Message
|
Trainee |
Posted: Thu May 31, 2007 6:45 am Post subject: Setting message Expiry |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Can I set message Expiry at queue level.I want some messages to be expired coming to particular queue.
Does it need be set applicaiton level or can I do some thing from QueueManager or Queue Level
Thank you
Trainee |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 31, 2007 6:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It's set by the application when the message is put. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 31, 2007 7:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Or with an Exit. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Trainee |
Posted: Thu May 31, 2007 9:05 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Thanks for replies...
When you say with Exit it will be Queue Manager level and can't be specific to any particular queue ..am I correct
Thank you
Trainee |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 31, 2007 9:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's a horrible idea to do it with an exit.
But yes, exits are defined at the qmgr level.
But no, they can be written to act on specific queues. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Trainee |
Posted: Thu May 31, 2007 10:14 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Thanks Jeff.Useful information
Trainee |
|
Back to top |
|
 |
Trainee |
Posted: Thu May 31, 2007 10:36 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
expiry interval in the queue manager object by using the EXPRYINT attribute which we use for REFRESH QMGR TYPE(EXPIRY) is for the queue manager on zos ???
Beacuse I am not seeing EXPRYINT attribute on AIX queue manager.
Thank you
Trainee |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 31, 2007 10:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, expiryint is zOS only.
As a simple lookup in the Info Center would have shown you.
And that same lookup would have told you the relationship it has to when messages expire. It's probably not what you think it is. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|