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 » Clarification needed in MQ !!!

Post new topic  Reply to topic
 Clarification needed in MQ !!! « View previous topic :: View next topic » 
Author Message
muthukumaran
PostPosted: Sat Jun 20, 2009 8:07 pm    Post subject: Clarification needed in MQ !!! Reply with quote

Novice

Joined: 12 Feb 2009
Posts: 22

Hi,

I have a couple of doubts in MQ. Will be helpful if anybody can clarify on the questions.

1. What is the significance of the parameter "Service Interval" in Queue Definition ?

2. I have a Queue with trigger type "First" enabled. My queue will keep on getting the messages. Is it possible to retrigger(or start the trigger fresh) the same application after every 10 minutes ? And i also want all the messages to be available which were there in the previous trigger? To be precise, can i re-initiate the same Application with another trigger and with time constraint of 10 minutes.

Thanks
Back to top
View user's profile Send private message
sumit
PostPosted: Sun Jun 21, 2009 1:20 am    Post subject: Re: Clarification needed in MQ !!! Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

muthukumaran wrote:
1. What is the significance of the parameter "Service Interval" in Queue Definition ?

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzax.doc/mo10830_.htm

muthukumaran wrote:
Is it possible to retrigger(or start the trigger fresh) the same application after every 10 minutes ?

Trigger on a q works with respect to messages. q generates a trigger with first message, every message, certain no. of msgs in q, etc. How can you restrict message occurance in a q after every 10 mins?
What's your OS? You can use cron job on Unix or Services schedular on Windows to achieve the same.

muthukumaran wrote:
...i also want all the messages to be available which were there in the previous trigger?

Then why do you need a trigger? Trigger is normally configured to start an application which can use the messages in a q.

Can you elaborate on your exact requirement?
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Sun Jun 21, 2009 1:23 am    Post subject: Re: Clarification needed in MQ !!! Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

muthukumaran wrote:
1. What is the significance of the parameter "Service Interval" in Queue Definition ?


If the queue manager doesn't have performance events enabled it has no significance at all! If it is enables, the value is part of the sampling mechanism used to generate them. There's a wealth of documentation on it which I don't intended to repeat here; I'll simply say that, like all events these should be used with some caution and are best used only to solve a specific issue (e.g. enabling security events to resolve a security problem, enabling performance events to resolve a performance problem, etc)

muthukumaran wrote:
2. I have a Queue with trigger type "First" enabled. My queue will keep on getting the messages. Is it possible to retrigger(or start the trigger fresh) the same application after every 10 minutes ? And i also want all the messages to be available which were there in the previous trigger? To be precise, can i re-initiate the same Application with another trigger and with time constraint of 10 minutes.


Triggering is message rather than time driven. You might be able to do something but it will be much easier to use cron or similar to just kick off your application every 10 minutes.

Why would you want the same messages as in the previous triggered job? Why would you want them processed again and again? Do not use a queue as a database (it sounds like your application is reading configuration messages on start up, I could be wrong) but store this information elsewhere.

As to the messages remaining for the next iteration of your application, that's a question for your application not WMQ. You're processing them, you decide if you're removing them.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Sun Jun 21, 2009 3:00 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Look at QMGR Triggerinterval - useful for re-triggering applications that have not run successfully.
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 » General IBM MQ Support » Clarification needed in MQ !!!
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.