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 Process Server (WID/WPS/WAS+) » MQJMS Binding and Default Selector

Post new topic  Reply to topic
 MQJMS Binding and Default Selector « View previous topic :: View next topic » 
Author Message
wilsonjohn24
PostPosted: Mon Feb 11, 2008 6:40 am    Post subject: MQJMS Binding and Default Selector Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

Version 6.1
Attempting to do RR scenario correlating on Message ID.
Using MQJMS Import component.

How can I override the default Response Message Selector?

selector=callbackID='CALLBACKMESSAGE_ID:414d512051324348495343574d51444545dae41820228e04'

I basically just want to do a simple correlation on an ID!



cheers,

John
Back to top
View user's profile Send private message
wilsonjohn24
PostPosted: Mon Feb 11, 2008 6:55 am    Post subject: Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

I seen this link
http://www-128.ibm.com/developerworks/forums/thread.jspa?threadID=169953


But I reckon there must be a way of doing it in a single component.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 11, 2008 7:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Remember that JMS does not allow for the setting of Message ID on send(), this is overridden and a unique ID is always created.

If you are trying to talk to a legacy application that is not implemented using JMS, and does not honor the MQ Report Options fields that instruct it how to address a reply... then you likely need to either split the process as described in that thread or create your own MessageListener with your own selector.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wilsonjohn24
PostPosted: Mon Feb 11, 2008 7:20 am    Post subject: Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

Hi,
Thanks for the response.

Yes I appreciate that JMS overrides the message ID on the send. The way I want it to work is that process server uses the Message ID ( created from the send) and uses that as a correlation ID to get the reply.

I basically want
selector= 'JMSCorrelationID=414d512051324348495343574d51444545dae41820228e04'

rather than:

selector=callbackID='CALLBACKMESSAGE_ID:414d512051324348495343574d51444545dae41820228e04'

The actual correlation identifier is fine......

I dont want to be retrieveing the message on the "callbackID" property nor have the "CALLBACKMESSAGE_ID:" appended to the start of the retrieval string.


cheers,



John
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 11, 2008 7:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You're probably outside the limits of my expertise with WPS/WID development.

It seems that devWorks thread says that the response should more or less be automatically correlated - and that the CALLBACK stuff comes from using a callback queue.

So it seems that you're not configuring something in your Import configuration or in your BPEL/code. Maybe if you post more information about how that's done and wired together, someone else can help.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wilsonjohn24
PostPosted: Mon Feb 11, 2008 7:28 am    Post subject: Side thought..... Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

The CALLBACK additions seems wrong as the option I have selected is:

"Correlation by Message ID"


So surely the default behaviour must be to use JMSCorrelationID and not attempt to retrieve a message based on an entierly different property- not sure if this is maybe a SIB "feature"/sideaffect.
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 Process Server (WID/WPS/WAS+) » MQJMS Binding and Default Selector
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.