Posted: Thu May 01, 2014 9:52 am Post subject: JMS RECIEVR NODE MessageCorrelationIDSelector doesnt work
Novice
Joined: 07 Feb 2014 Posts: 16
Hi Guys,
I am having JMSoutNode followed by Compute node and JMS receiver Node. In the compute node i am setting MessageCorrelationIDSelector in OutputLocalEnvirionment but JMS RECIEVR node doesnt fetch the message out. I tried to put the JMSCorrelation ID string in different way but noting seems like to working. IT says "('MQCC_FAILED') reason '2459' ('MQRC_SELECTOR_SYNTAX_ERROR')."
I think i m doing a minor error in the syntax some where and not getting response back..
i tried following lines of codes..
Code:
1) DECLARE JMSID CHARACTER SUBSTRING (InputLocalEnvironment.WrittenDestination.JMS.DestinationData.JMSMessageID AFTER 'ID:');
SET OutputLocalEnvironment.JMS.Receive.MessageCorrelationIDSelector = JMSID;
Form 2 should be the right one... let us know what else you get...
What version of broker are you using (4 digits please) ?
And don't forget to set transactionality NO on the JMSOutnode... _________________ MQ & Broker admin
I was firmly beliveing tha approach 2 should be right but dont know y it doesnt work.. My broker is 8003. And transactionality is obviosly set to NO.. i see the message comes on the reply Q from where JMS reciever node reads the response.. evn if i remove the value for MessageCorrelationIDSelector and clear all selector criteria... JMS receiver node can read the msg them.. means nothing is wrong with the msg..
SET OutputLocalEnvironment.JMS.Receive.MessageCorrelationIDSelector = '='|| ''''||InputLocalEnvironment.WrittenDestination.JMS.DestinationData.JMSMessageID||'''';
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