| Author | 
		  Message
		 | 
		
		  | nukala | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 5:16 am    Post subject: MessageId is changing | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				Hello 
 
iam using request property of mqoutput node to set reply to queue 
 
 
mqoutput node is placing message on out queue of mqoutput node
 
 
with reply to queue in mqmd property
 
 
and message on the queue is with new message id
 
 
but i need message id on the out queue will be same as old message id
 
 
how can i achieve this one
 
 
help me on this one
 
 
thanks
 
nukala | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 5:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Have you looked at all of the properties on the MQOutput node? _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nukala | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 5:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				Hi master
 
yes i have gone through  mb help document to set mqoutput node propertys i didnt found any thing to keep old message id
 
while using request property to set reply to queue
 
please guide me to solve this problem
 
 
thanks
 
nukala | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JT | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 5:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Padawan
 
 Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT. 
  | 
		  
		    
			  
				Try setting this property:
 
 
   
	| Code: | 
   
  
	| SET OutputRoot.MQMD.Report  =   MQRO_PASS_MSG_ID;  | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 5:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Maybe you are reading the wrong thing.
 
 
When I read the help for the MQOutput node, I see a property that controls whether a new message id is generated or not. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nukala | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 6:34 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				hi
 
i tried with 
 
SET OutputRoot.MQMD.Report  =   MQRO_PASS_MSG_ID;
 
but mqoutput is palcing message on queue with new message id
 
 
and i gone through link again 
 
but i didnt get anything
 
 
thanks
 
 
nukala | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 6:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				
   
	| nukala wrote: | 
   
  
	and i gone through link again 
 
but i didnt get anything | 
   
 
 
   
 
   
	| Quote: | 
   
  
	New Message ID 	Yes 	No 	Cleared 	Whether WebSphere MQ generates a new message identifier to replace the contents of the MsgId field in the MQMD. If you select the check box, this action is performed.
 
 | 
   
 
 _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nukala | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 7:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				hi
 
that box was not checked
 
still mqoutput node is placing message on queue with new message  id
 
and passing message to next node with old message id
 
 
thanks
 
nukala | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 7:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				What are all of the options that are set on your MQOutput node?
 
 
Also show a trace of Root.MQMD and Root.Properties taken with a trace node right before the MQOutput node. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nukala | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 7:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				hi
 
mqoutput node properties that i used are
 
in Basic 
 
   given queue name
 
in Request
 
   checked Request check box
 
   reply to queue name specified
 
 
and all remaining properties are default ones
 
 
following is the trace details
 
 
  
 
(
 
  (0x03000000):SourceQueue      = 'q1'
 
  (0x03000000):Transactional    = TRUE
 
  (0x03000000):Encoding         = 546
 
  (0x03000000):CodedCharSetId   = 437
 
  (0x03000000):Format           = 'MQSTR   '
 
  (0x03000000):Version          = 2
 
  (0x03000000):Report           = 0
 
  (0x03000000):MsgType          = 8
 
  (0x03000000):Expiry           = -1
 
  (0x03000000):Feedback         = 0
 
  (0x03000000):Priority         = 0
 
  (0x03000000):Persistence      = 1
 
  (0x03000000):MsgId            = X'414d51205742524b5f514d202020202053442c42200003bc'
 
  (0x03000000):CorrelId         = X'000000000000000000000000000000000000000000000000'
 
  (0x03000000):BackoutCount     = 0
 
  (0x03000000):ReplyToQ         = '                                                '
 
  (0x03000000):ReplyToQMgr      = 'WBRK_QM                                         '
 
  (0x03000000):UserIdentifier   = 'nukala'
 
  (0x03000000):AccountingToken  = X'16010515000000f89fb474782e9d1343170a32e903000000000000000000000b'
 
  (0x03000000):ApplIdentityData = '                                '
 
  (0x03000000):PutApplType      = 11
 
  (0x03000000):PutApplName      = 'C:\WINNT\system32\mmc.exe   '
 
  (0x03000000):PutDate          = DATE '2005-03-07'
 
  (0x03000000):PutTime          = GMTTIME '15:46:48.540'
 
  (0x03000000):ApplOriginData   = '    '
 
  (0x03000000):GroupId          = X'000000000000000000000000000000000000000000000000'
 
  (0x03000000):MsgSeqNumber     = 1
 
  (0x03000000):Offset           = 0
 
  (0x03000000):MsgFlags         = 0
 
  (0x03000000):OriginalLength   = -1
 
)
 
(
 
  (0x03000000):MessageSet      = ''
 
  (0x03000000):MessageType     = ''
 
  (0x03000000):MessageFormat   = ''
 
  (0x03000000):Encoding        = 546
 
  (0x03000000):CodedCharSetId  = 437
 
  (0x03000000):Transactional   = TRUE
 
  (0x03000000):Persistence     = TRUE
 
  (0x03000000):CreationTime    = GMTTIMESTAMP '2005-03-07 15:50:49.230'
 
  (0x03000000):ExpirationTime  = -1
 
  (0x03000000):Priority        = 0
 
  (0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
 
  (0x03000000):ReplyProtocol   = 'MQ'
 
  (0x03000000):Topic           = NULL
 
) | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Mon Mar 07, 2005 8:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				
   
	| nukala wrote: | 
   
  
	| checked Request check box | 
   
 
 
   
	| Documentation on MQOutput node wrote: | 
   
  
	Select Request in the properties dialog navigator and set the properties to define the characteristics of each output message generated.
 
 
    * Select the Request check box to mark each output message in the MQMD as a request message (MQMD_REQUEST), and clear the message identifier field (set to MQMI_NONE) to ensure that WebSphere MQ generates a new identifier. Clear the check box to indicate that each output message is not marked as a request message. You cannot select this check box if you have selected a Destination Mode of Reply To Queue.
 
 | 
   
 
 
My emphasis added. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nukala | 
		  
		    
			  
				 Posted: Tue Mar 08, 2005 6:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				hi
 
 
 
i included following statemnt in compute node
 
SET OutputRoot.MQMD.MsgId=MQMI_NONE;
 
but no change
 
thanks
 
nukala | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nukala | 
		  
		    
			  
				 Posted: Tue Mar 08, 2005 9:48 am    Post subject: Urgent | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				Hi masters
 
 
how can i get  message in the out queue with old message id only
 
(if iam giving reply to queue in request property of mqoutput node)
 
 
or 
 
 
how can i get  the message with same id in output queue and flow after mqoutput node(can be new message id )
 
 
thanks
 
nukala | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JT | 
		  
		    
			  
				 Posted: Tue Mar 08, 2005 10:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Padawan
 
 Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT. 
  | 
		  
		    
			  
				Apparently, when you select the Request checkbox on the MQOutput node, a new message identifier is generated on your behalf, regardless. However, this is not the case when you don't select the Request checkbox. So, rather than selecting the Request checkbox, you will be able to achieve the same results by adding the following ESQL code. This will identify the message as a Request message and still maintain the original message indentifer:
 
 
   
	| Code: | 
   
  
	
 
SET OutputRoot.MQMD.ReplyToQ    = 'QUEUE1';
 
SET OutputRoot.MQMD.ReplyToQMgr = 'QMGR1';
 
SET OutputRoot.MQMD.MsgType     =  MQMT_REQUEST;
 
SET OutputRoot.MQMD.Format      =  MQFMT_STRING;
 
 | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nukala | 
		  
		    
			  
				 Posted: Tue Mar 08, 2005 12:17 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 07 Mar 2005 Posts: 9
  
  | 
		  
		    
			  
				hi
 
 
i dont want to code in ESQL like
 
 
SET OutputRoot.MQMD.ReplyToQ    = 'QUEUE1'; 
 
SET OutputRoot.MQMD.ReplyToQMgr = 'QMGR1';
 
 
i want to use mqoutput node property and i should get message with same message id on output queue and in the flow for further processig
 
 
is it possible or not i dont know 
 
 
so plz guide me
 
 
thanks
 
nukala | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |