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 » General IBM MQ Support » Messages Delay

Post new topic  Reply to topic
 Messages Delay « View previous topic :: View next topic » 
Author Message
Al Pacino
PostPosted: Mon Mar 19, 2007 10:45 am    Post subject: Messages Delay Reply with quote

Centurion

Joined: 19 Aug 2005
Posts: 114

Hi folks ,
I have a trigger queue which I would like to delay the messages on it for 15 mins before they get pulled by the application. Is there a way to do it on the MQ/Queue level without having to write a program or change the app itself ?

MQ 5.3 CSD 10
Windows Server 2003
_________________
"We can't solve problems by using the same kind of thinking we used
when we created them."
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon Mar 19, 2007 10:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

no way with MQ itself, you need to write your own delay before triggering the app.
once the app has the queue open all available message are available for reading...

I heard this many times and is sometimes labeled "the do not open until christmas message requirement"
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Al Pacino
PostPosted: Mon Mar 19, 2007 12:01 pm    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2005
Posts: 114

Thanks Mike
_________________
"We can't solve problems by using the same kind of thinking we used
when we created them."
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Mar 20, 2007 1:33 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Put the original msg with MD.Report set to MQRO_EXPIRATION_WITH_FULL_DATA and an Expiry time of 1800 (15 mins worth of half-seconds). When the msg expires after the required 15 mins, the report msg is written to the MD.ReplyQ. If this queue is triggered, the app can then get the msg from there.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue Mar 20, 2007 1:52 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

creative! what if the sending qmgr is different then the receiving qmgr, doesn't the report message go back to the sending qmgr?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jefflowrey
PostPosted: Tue Mar 20, 2007 3:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Report messages go to the ReplyToQueue on the ReplyToQueueManager.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue Mar 20, 2007 3:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

jefflowrey wrote:
Report messages go to the ReplyToQueue on the ReplyToQueueManager.

exactly... that was my thought aswell.
so in your sending app (if on a different queuemanager) you need to set the ReplyToQueueManager to be the one of the receiving app's queuemanager for this to work.
otherwise the 'delayed' messages will be sent back to the senders queuemanager...

still it's a creative solution... and only works for one way traffic or request reply that doesn't use the replyto info
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Messages Delay
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.