|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Report message properties | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | Chris123 | 
		  
		    
			  
				 Posted: Mon Apr 14, 2003 7:35 am    Post subject: Report message properties | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 14 Apr 2003 Posts: 11
  
  | 
		  
		    
			  
				I've trawled through the MQ documentation and whilst I can make a stab at the answer, I'd just like a sanity check. 
 
 
When a report message is created (I'm only thinking of Exception and Expiration) does it have an infinite lifetime? Also, is it persistent, or based on the persistence of the message that caused the report to be created, or the default persistence of the queue it is being placed on? Also for Exceptions, if the original message is move to the DLQ, what happens to it's expiry and persistence?
 
 
As an aside (and I REALLY want to get this off my chest) why are reports sent to the ReplyToQueue. Why is there no concept of administration queues as in MSMQ? Has anyone ever got a sensible reply from IBM? Surely I'm not the only one who thinks that they could have put this in by now. <.. rant over ..>
 
 
Cheers,
 
 
Chris | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Mon Apr 14, 2003 10:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
			  
				| The Application Programming Guide has a section on the Report field of the MQMD.  At the end of it, there is a table that gives details on what the MQMD fields are set to on a report message.  Expiry is listed as MQEI_UNLIMITED. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Chris123 | 
		  
		    
			  
				 Posted: Tue Apr 15, 2003 12:16 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 14 Apr 2003 Posts: 11
  
  | 
		  
		    
			  
				Thanks for the reply. I've got the Information Centre up and still can't find the section you mentioned though. Could you do me a favour and tell me where in the Contents tree it is? Any ideas on the persistence?
 
 
Thanks again,
 
 
Chris | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | kevinf2349 | 
		  
		    
			  
				 Posted: Tue Apr 15, 2003 4:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand Master
 
 Joined: 28 Feb 2003 Posts: 1311 Location: USA 
  | 
		  
		    
			  
				| Is it Appendix E of the Application Programmers Reference you need? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | vmcgloin | 
		  
		    
			  
				 Posted: Tue Apr 15, 2003 4:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Knight
 
 Joined: 04 Apr 2002 Posts: 560 Location: Scotland 
  | 
		  
		    
			  
				Try chapter 9 of the Application Programming Reference (version with 5.2).
 
   
	| Quote: | 
   
  
	Contents of the message descriptor for a report message: When the queue manager or message channel agent (MCA) generates a report message, it sets the fields in the message descriptor to the following values, and then puts the message in the normal way: 
 
 
Field in MQMD 
 
Value used 
 
StrucId 
 
MQMD_STRUC_ID 
 
Version 
 
MQMD_VERSION_2 
 
Report 
 
MQRO_NONE 
 
MsgType 
 
MQMT_REPORT 
 
Expiry 
 
MQEI_UNLIMITED 
 
Feedback 
 
As appropriate for the nature of the report (MQFB_COA, MQFB_COD, MQFB_EXPIRATION, or an MQRC_* value) 
 
Encoding 
 
Copied from the original message descriptor 
 
CodedCharSetId 
 
Copied from the original message descriptor 
 
Format 
 
Copied from the original message descriptor 
 
Priority 
 
Copied from the original message descriptor 
 
Persistence 
 
Copied from the original message descriptor 
 
... | 
   
 
 | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Chris123 | 
		  
		    
			  
				 Posted: Tue Apr 15, 2003 5:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 14 Apr 2003 Posts: 11
  
  | 
		  
		    
			  
				Got it (eventually).
 
 
Thanks | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |