|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Issues when trying to use a trigger to start an application |
« View previous topic :: View next topic » |
Author |
Message
|
rivast_2001 |
Posted: Wed Jul 14, 2004 11:30 am Post subject: Issues when trying to use a trigger to start an application |
|
|
 Novice
Joined: 14 Jul 2004 Posts: 15 Location: Mansfield, MA
|
For the last couple of weeks we have been looking the IBM WebSphere MQSeries suite for Windows. Since the beginning of this week we have been trying to setup a trigger to execute an application once a message is posted to a queue. In order to do it we followed these steps,
1. Setup a Process definition indicating under the Application Identifier the name of the application we want to execute.
2. Setup a transmission queue, which has been enabled for triggering this process using the SYSTEM.CHANNEL.INITQ initiation queue.
3. Verify that the channel initiator service is running.
4. Execute an application that places an entry in the queue.
As soon as this is done I am getting the following message,
Event Type: Error
Event Source: WebSphere MQ
Event Category: None
Event ID: 9539
Date: 7/14/2004
Time: 2:24:32 PM
User: N/A
Computer: WORKPC
Description:
No channels available.
The channel initiator program received a trigger message to start an MCA program to process queue 'trigger.local.queue'. The program could not find a defined, available channel to start.
Ensure that there is a defined channel, which is enabled, to process the transmission queue.
We are not sure what are we missing so please any help will be extremely appreciated.
Thanks, |
|
Back to top |
|
 |
vennela |
Posted: Wed Jul 14, 2004 11:36 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What is the INITQ that you specified on the queue
Is the trigger monitor on this INITQ running
I think you are being confused by application triggering and channel triggering.
You also might want to look at this FAQ
http://www.mqseries.net/phpBB2/viewtopic.php?t=12988 |
|
Back to top |
|
 |
kman |
Posted: Wed Jul 14, 2004 7:39 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2003 Posts: 309 Location: Kuala Lumpur, Malaysia
|
Yes, I think you are trying to do application triggering, but you are mixing it with channel triggering.
The Application Programming Guide has detailed steps to achieve the triggering.
Here is my summary:
1. Setup a process. I think you got this. Say this is P1
2. define a trigger local queue.
say, def ql(LQ1) trigger trigtype(first) initq(MyInitQ) process(P1)
this will define a local queue LQ1 to be set as trigger, using MyInitQ as the initiation queue, and process P1 as the process to start.
3. define an initq to be used - MyInitQ.
say, def ql(MyInitQ)
4. start a trigger monitor to listen on the queue
runmqtrm -m QMname -Q MyInitQ
5. Put a message to the queue LQ1
You will see something then, |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|