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 » Triggering Queues

Post new topic  Reply to topic
 Triggering Queues « View previous topic :: View next topic » 
Author Message
Ramesh_ka
PostPosted: Wed Dec 24, 2003 10:50 am    Post subject: Triggering Queues Reply with quote

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
View user's profile Send private message Send e-mail
oz1ccg
PostPosted: Fri Dec 26, 2003 12:53 pm    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

take a look on this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=12522

Personally I think the only right trigger to use is trigger FIRST, the other requres a lot of administration and complex program development to cope with the behavour of the trigger michanism.

just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Ramesh_ka
PostPosted: Sat Dec 27, 2003 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat Dec 27, 2003 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Sat Dec 27, 2003 4:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ramesh_ka
PostPosted: Mon Dec 29, 2003 10:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon Dec 29, 2003 10:48 am    Post subject: Reply with quote

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
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 » Triggering 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.