Author |
Message
|
rmouta |
Posted: Mon Feb 09, 2004 8:45 am Post subject: Triggering in MQSeries v5.2.1 for WIN2000 |
|
|
 Newbie
Joined: 09 Feb 2004 Posts: 5
|
Hi, i am new in MQSeries, i wont to now if it is possivel use
triggering in MQSeries v5.2.1 to WINDOWS 2000 plataform.
I see in some documentation that it's not possivel.
It's true?
Kind regards
RUI MOUTA |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 09, 2004 8:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, it is not true.
The documentation is referring to a very old, obsolete product, called "MQSeries for Windows", which was at the 2.1 level, rather than the 5.x level.
Triggering is very possible in Windows 2000. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rmouta |
Posted: Mon Feb 09, 2004 9:40 am Post subject: |
|
|
 Newbie
Joined: 09 Feb 2004 Posts: 5
|
Thanks Jeff,
Now i try to active the trigger and is not working.
what i do is:
- Activate the trigger in the queue to run.
- I create the Initq.
- I define the process to run a VB aplication.
- I create a trigger monitor to the INITQ.
There are someone else i have to do?
RUI MOUTA |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 09, 2004 11:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
rmouta |
Posted: Mon Feb 09, 2004 12:12 pm Post subject: |
|
|
 Newbie
Joined: 09 Feb 2004 Posts: 5
|
Thanks Jeff,
One more question,
I read in this forum that is not good idea create a trigger to get
messages from a Queue when we have a lot of messages arriving per second.
On my work we calculate that sometimes on my queue can arrive
about 10 messages per second to the queue, what you sugest?
I have already design a application that get messages on intervals of time from the queue per exemple 15000 messages every 5 minutes.
What is the best idea?
RUI MOUTA |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 09, 2004 12:26 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You'll have to decide for yourself if you want to use triggering or not. I don't have nearly enough information to tell you one way or another.
But the thing you should really think about is how much impact on the system is caused by your application starting up and shutting down. And then look at how much time there will be between batches of messages to figure out how often (on average) your application will be starting up every hour or day or whatever. Also, look at how long you expect your application to stay running once it's started.
Then you can decide if it's reasonable to use triggering to start your app in your particular situation. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ramsi |
Posted: Thu Feb 19, 2004 7:03 pm Post subject: MQ Series Problem...PLZ HELP |
|
|
Newbie
Joined: 19 Feb 2004 Posts: 4
|
Hi JeffLowrey,
We have MQ Series running on windows 2000 server. We created 40 different queues for various tasks in our MQ Series. And for each queue we have one init queue and one trigger monitor created. We have two problems:
1. Even after the messages are cleared the init Queue shows different count. For e.g. if 1000 msgs comes into Queue 2 then even after the msgs are dequeued and committed to the DB at the backend...the init queue still shows 900...899...898........700......694....610...500.........10.9.8.7...1
2. I don't know whether this is a related problem or not but when the init Q is still showing that it has msgs in it, the CPU spikes up to 100% which results in hanging the other set of queues coming into the same Queue or different Queue. It can't process the second set bcos of 100% CPU utilization.
Can you tell us what could be wrong in our configuration and what could be the best possible solution? FYI, we set the message queues as Non-persistent and we get 10 or 5000 msgs per second. I really appreciate if you could give me your suggestions based on your experience
Thanks,
Ramsi |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 20, 2004 4:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Don't use Trigger type of Every.
If you have the following {Queue, inititation queue, trigger monitor} for each of your 40 applications, and you're using Trigger Type of First, then there should only ever be one message on the Initiation Queue. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ramsi |
Posted: Fri Feb 20, 2004 5:21 pm Post subject: MQ Series Problem...PLZ HELP |
|
|
Newbie
Joined: 19 Feb 2004 Posts: 4
|
Jeff...
I have the triggertype as FIRST...but still there seems to be a problem
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Feb 21, 2004 7:33 am Post subject: Re: MQ Series Problem...PLZ HELP |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
ramsi wrote: |
I have the triggertype as FIRST...but still there seems to be a problem |
Please show me queue definitions for two of your triggered queues. Also show me the process definitions. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|