The key thing to check is that you're definitely spawning off the MQ
applications asynchronously. On Windows this means issuing the command
"start App" (or similar) rather than just "App". If you run it syncronously
then the trigger monitor won't get control back, and therefore won't see
the next trigger message, until the first app completes. This is true for
all platforms so on Unix you would use the '&' character,

Sorry if you'd already thought of this.
P.

Paul G Clarke
WebSphere Messaging Clients
IBM Hursley
email : [EMAIL PROTECTED]
Tel     : External   +44 (1962) 818201



MQSeries List <[EMAIL PROTECTED]> wrote on 02/11/2004 15:24:53:

> Environment:
> Win2K Server
> MQ Server 5.3.1 CSD 7
> Single queue manager
>
> Setup:
> I have 2 inbound queues (1 inbound from internal systems and 1 inbound
from
> external systems). Both these queues are triggered and have a process
> definition that runs a triggered application that gets the messages off
the
> queue and routes them to other queues, folders, systems etc. I have a
single
> trigger monitor using the SYSTEM.DEFAULT.INITIATION.QUEUE that triggers
from
> both these queues.
> The trigger is set to trigger by 1st message.
>
> Question:
> Recently, an internal application dumped 38,000 (small) messages into one
of
> the inbound queues. The triggered application is written to not return
until
> the queue is empty. It seemed to me while watching the queues that when
> messages appeared in the 2nd queue, the trigger didn't fire. It looked
like
> the trigger for the 2nd queue didn't fire until the process started by
the
> trigger of the 1st queue finished.
> My question is, in the windows environment, do triggered processes on
> multiple queues happen concurrently or consequtively?
>
> 2nd Question:
> Would I be better off to set up 2 trigger monitors and 2 initiation
queues
> to trigger applications from these 2 queues?
>
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to