|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| MQTRIG messages | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | dmowskit | 
			  
				|  Posted: Wed Dec 29, 2004 7:31 am    Post subject: MQTRIG messages |   |  |  
		  |  Novice
 
 
 Joined: 22 Apr 2003Posts: 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 |  |  
		  |  |  
		  | PeterPotkay | 
			  
				|  Posted: Wed Dec 29, 2004 8:30 am    Post subject: |   |  |  
		  |  Poobah
 
 
 Joined: 15 May 2001Posts: 7723
 
 
 | 
			  
				| 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 |  |  
		  |  |  
		  | kevinf2349 | 
			  
				|  Posted: Wed Dec 29, 2004 10:52 am    Post subject: |   |  |  
		  |  Grand Master
 
 
 Joined: 28 Feb 2003Posts: 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 |  |  
		  |  |  
		  | Nigelg | 
			  
				|  Posted: Wed Dec 29, 2004 11:10 am    Post subject: |   |  |  
		  | Grand Master
 
 
 Joined: 02 Aug 2004Posts: 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 |  |  
		  |  |  
		  | dmowskit | 
			  
				|  Posted: Wed Dec 29, 2004 1:29 pm    Post subject: |   |  |  
		  |  Novice
 
 
 Joined: 22 Apr 2003Posts: 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 |  |  
		  |  |  
		  |  |  |  
  
	|    |  | 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
 
 |  |  |  |