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 » MQTRIG messages

Post new topic  Reply to topic
 MQTRIG messages « View previous topic :: View next topic » 
Author Message
dmowskit
PostPosted: Wed Dec 29, 2004 7:31 am    Post subject: MQTRIG messages Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 10
Location: Poland

Hi,

every trigger message should open INITQ queue with options allowed use MQGET. But if I use MQOPEN with ther option than MQOO_INQUIRE there are in this moment generated MQTRIG messages with headers as they come from each triggered queues has this my opened queue in INITQ field.

I can't understand why. Maybe someone know?
_________________
Tomasz Dmowski
____________________________
IBM Certified MQSeries Specialist
PROKOM SOFTWARE SA
Gdynia, Poland
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Dec 29, 2004 8:30 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Tom,
I can't understand your question. Can you try asking it again more clearly?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Dec 29, 2004 10:52 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I, like Peter, am not too sure what your question is but ...

You absolutely should expect MQTRIG messages on the INITQ. The INITQ should be GET and PUT enabled. The trigger monitor should be the only 'application' that has the INITQ open for input.

You should NOT place any application messages directly onto the INITQ unless you write it in trigger message format.

Does that help clear things up any?
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Dec 29, 2004 11:10 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

If I understand your question correctly...

You have an initiation queue, for example called MY.INITQ, which is set as the INITQ attribute on a 10 (for example) local queues, When you open this queue for input, 10 trigger msgs are put to MY.INITQ.

This is the correct operation of the system. See the APG, Conditions for a trigger event, 8 & 9. When a queue is opened, all the queues which have the queue defined as the INITQ are checked to see whether all the other conditions for a trigger event are met. If so, a trigger msg is written to the INITQ.

This is the mechanism which starts triggered channels at qmgr startup if there are msgs on the channels' xmitqs.

Only a trigger monitor, like the supplied runmqtrm, or compiled from the sample source (I forget the file name) should open an initiation queue for input, and it should be prepared to read and process the trigger msgs to start the triggered apps.
Back to top
View user's profile Send private message
dmowskit
PostPosted: Wed Dec 29, 2004 1:29 pm    Post subject: Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 10
Location: Poland

Thanks Nigelg, that was my question. I know that is correct but I understand why
So tommorrow I look up to Application Programming Guide and answer to my boss

Thanks
Tomas
_________________
Tomasz Dmowski
____________________________
IBM Certified MQSeries Specialist
PROKOM SOFTWARE SA
Gdynia, Poland
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQTRIG messages
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.