Author |
Message
|
ursfriend14 |
Posted: Wed Nov 30, 2011 1:58 am Post subject: EXPIRY only in destination queue not in tranmission queues |
|
|
Newbie
Joined: 30 Nov 2011 Posts: 4
|
Hi ,
I want to send a msg with expiry of 10ms. The expiry count should start only if it reaches the destination queue.
the ideal senario the count starts when a message is delivered to transmission queue. is there any falg or any command that we can control the message expiry only to the destination queue.
Please help if you have any suggestions for this.
Regards,
Visu |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Nov 30, 2011 2:43 am Post subject: Re: EXPIRY only in destination queue not in tranmission queu |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ursfriend14 wrote: |
The expiry count should start only if it reaches the destination queue. |
Expiry doesn't work like that. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 30, 2011 5:50 am Post subject: Re: EXPIRY only in destination queue not in tranmission queu |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ursfriend14 wrote: |
is there any falg or any command that we can control the message expiry only to the destination queue. |
No. Expiry is the length of time the message is valid, not how long it's allowed to sit on the target. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ursfriend14 |
Posted: Wed Nov 30, 2011 7:14 pm Post subject: |
|
|
Newbie
Joined: 30 Nov 2011 Posts: 4
|
I agree with you guys...... Thats why i posted in this to know is there any alternative way to do with what i want. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 30, 2011 8:51 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ursfriend14 wrote: |
I agree with you guys...... Thats why i posted in this to know is there any alternative way to do with what i want. |
Don't set expiration, and have the application discard messages older than the threshold.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 01, 2011 5:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ursfriend14 wrote: |
I agree with you guys...... Thats why i posted in this to know is there any alternative way to do with what i want. |
You've not really explained what you want to do....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ursfriend14 |
Posted: Fri Dec 02, 2011 1:27 am Post subject: |
|
|
Newbie
Joined: 30 Nov 2011 Posts: 4
|
i want to check the connectivity from source queue manager to destination queue manager to a particular queue which is listening by a broker/WAS/WEBMETHODS/DP/some other applications.
So i want to get a report that msg is delivered (using COA) but i dont want the message to be consumed by the broker.
this is my requirement. Please give me some suggestions.
Thanks,
Visu. |
|
Back to top |
|
 |
zpat |
Posted: Fri Dec 02, 2011 2:15 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
So you are trying to instrument the queue by sending it a message, but not allow that message to be consumed?
Basically you can't do that. Use another queue, which could simply hold the messages (which have COA or COD set) until expiry or have another broker flow consume them. COD would actually be more useful, because then it shows that the broker is running.
If you want the application to know it's message has been successfully processed - get the other application to send a response message back. |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Dec 02, 2011 2:32 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
ursfriend14 wrote: |
i want to check the connectivity from source queue manager to destination queue manager to a particular queue which is listening by a broker/WAS/WEBMETHODS/DP/some other applications.
So i want to get a report that msg is delivered (using COA) but i dont want the message to be consumed by the broker.
this is my requirement. Please give me some suggestions.
|
you could have a look at message tracing using dspmqrte ...  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 02, 2011 5:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Michael Dag wrote: |
you could have a look at message tracing using dspmqrte ...  |
As I indicated in your other thread here _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|