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 » WebSphere Message Broker (ACE) Support » JMS RECIEVR NODE MessageCorrelationIDSelector doesnt work

Post new topic  Reply to topic
 JMS RECIEVR NODE MessageCorrelationIDSelector doesnt work « View previous topic :: View next topic » 
Author Message
ethan_1988
PostPosted: Thu May 01, 2014 9:52 am    Post subject: JMS RECIEVR NODE MessageCorrelationIDSelector doesnt work Reply with quote

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;


2)SET OutputLocalEnvironment.JMS.Receive.MessageCorrelationIDSelector = InputLocalEnvironment.WrittenDestination.JMS.DestinationData.JMSMessageID;

3)SET OutputLocalEnvironment.JMS.Receive.MessageCorrelationIDSelector = 'JMSCorrelationID='||JMSID;

But the same error comes evrytime...

I ll appreciate any hint or help on this.. I have read some documentation but no where its clearly documented..

Thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 01, 2014 11:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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
Back to top
View user's profile Send private message Send e-mail
ethan_1988
PostPosted: Thu May 01, 2014 12:11 pm    Post subject: Reply with quote

Novice

Joined: 07 Feb 2014
Posts: 16

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..
Back to top
View user's profile Send private message
ethan_1988
PostPosted: Thu Jun 19, 2014 9:51 am    Post subject: Reply with quote

Novice

Joined: 07 Feb 2014
Posts: 16

The working code is :

Code:
SET OutputLocalEnvironment.JMS.Receive.MessageCorrelationIDSelector = '='|| ''''||InputLocalEnvironment.WrittenDestination.JMS.DestinationData.JMSMessageID||'''';


Set this before JMS reciver node.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMS RECIEVR NODE MessageCorrelationIDSelector doesnt work
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.