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 » IBM MQ Java / JMS » EXPIRY only in destination queue not in tranmission queues

Post new topic  Reply to topic
 EXPIRY only in destination queue not in tranmission queues « View previous topic :: View next topic » 
Author Message
ursfriend14
PostPosted: Wed Nov 30, 2011 1:58 am    Post subject: EXPIRY only in destination queue not in tranmission queues Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 30, 2011 2:43 am    Post subject: Re: EXPIRY only in destination queue not in tranmission queu Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Nov 30, 2011 5:50 am    Post subject: Re: EXPIRY only in destination queue not in tranmission queu Reply with quote

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
View user's profile Send private message
ursfriend14
PostPosted: Wed Nov 30, 2011 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 30, 2011 8:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Dec 01, 2011 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
ursfriend14
PostPosted: Fri Dec 02, 2011 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Fri Dec 02, 2011 2:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Fri Dec 02, 2011 2:32 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Vitor
PostPosted: Fri Dec 02, 2011 5:41 am    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » EXPIRY only in destination queue not in tranmission queues
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.