Author |
Message
|
Ramesh_ka |
Posted: Wed Dec 24, 2003 10:50 am Post subject: Triggering Queues |
|
|
Novice
Joined: 24 Dec 2003 Posts: 13
|
Hi All,
I would like Apply a trigger on one queue which placess all the messages on to another queue. Both the queues are in the same QueueManager. Is it possible. if so, is it possible to place a trigger on Depth and time.
Triggering for only Queue Depth.
1) i did this using 2 Queue Managers locally.
2) i did this using 2 Queue Managers ( 1 locally and 1 remote).
If any one have any kind of information on this please pass it on to me.
Thanks in advance.
Ramesh |
|
Back to top |
|
 |
oz1ccg |
Posted: Fri Dec 26, 2003 12:53 pm Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
|
Back to top |
|
 |
Ramesh_ka |
Posted: Sat Dec 27, 2003 3:47 pm Post subject: |
|
|
Novice
Joined: 24 Dec 2003 Posts: 13
|
Hi,
I will be more specific on my problem.
IS there a way to trigger q1 on QueueManager QM1 and the function of the trigger is to transfer all the messages from q1 on QM1 to q2 on QM1.
The Triggering conditions are 1) Depth and Time.
Thanks for the reply and Thanks in advance
Regards
Ramesh |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Dec 27, 2003 4:01 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There is no triggering based on time. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
EddieA |
Posted: Sat Dec 27, 2003 4:49 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
And to answer the other part.
All you do with triggering is invoke a script/application. What YOU do in that script/application is up to you.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Ramesh_ka |
Posted: Mon Dec 29, 2003 10:32 am Post subject: |
|
|
Novice
Joined: 24 Dec 2003 Posts: 13
|
Hi Eddie,
I got what actually you are saying.
From my application Point of view. I dont want to Trigger any application or script.
for example.
If 10 messages are arrived in one queue (q1) of QManager(QM1). after the 10 th message arrival, All the messages must be transfered to queue(q2) of QueueManager(QM1).
Here my concern is:-
Is it possible with the 2 Queues reside on Same QueueManager.
I am sorry if i am writing anything irrelevant. I am new to this.
Thank you very much for your previous inputs.
Regards
Ramesh |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Dec 29, 2003 10:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Ramesh_ka wrote: |
From my application Point of view. I dont want to Trigger any application or script. |
Yes, you do.
You want to trigger, when queue depth > 10, an application that will do
Ramesh_ka wrote: |
All the messages must be transfered to queue(q2) of QueueManager(QM1). |
There's nothing like that built into MQSeries. Not for transferring messages from one local queue to another local queue.
Ramesh_ka wrote: |
Here my concern is:-
Is it possible with the 2 Queues reside on Same QueueManager.
|
Yes. It's possible, if you create an application to do it.
It's not possible otherwise. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|