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 » IBM MQ Java / JMS » Using Message Selector with MDB

Post new topic  Reply to topic
 Using Message Selector with MDB « View previous topic :: View next topic » 
Author Message
obernard
PostPosted: Tue Jun 05, 2007 9:38 am    Post subject: Using Message Selector with MDB Reply with quote

Newbie

Joined: 11 Jan 2007
Posts: 7
Location: Montréal

Hi,

A legacy application send a message with a specific correlID set in MQMD but without RFH. I retreive this message with a MDB in Weblogic. The question is how can reteive only this CorrelID.

I try JMSCorrelID = xxx in the message selector but isn't work.

How can do this?

Thanks
Back to top
View user's profile Send private message Send e-mail MSN Messenger
marcin.kasinski
PostPosted: Tue Jun 05, 2007 10:27 am    Post subject: Re: Using Message Selector with MDB Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Hm,

I think it is not good idea to do it with MDB.

Can you tell us more about this requirement ?

PS1. How your MDB you will know CorrelId from sent message to configure selector?
PS2. Are you planning to set it as static well known value ?
_________________
Marcin


Last edited by marcin.kasinski on Tue Jun 05, 2007 11:46 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
marcin.kasinski
PostPosted: Tue Jun 05, 2007 11:45 am    Post subject: Re: Using Message Selector with MDB Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Hi,
Below there is example how can you select messages by CorrelationID.


Code:
<message_selector>JMSCorrelationID='XXXXXX'</message_selector>



But still there are my open questions about your requirements.

I don't like selecting MDB messages by CorrelationID.

CorrelationID attribute is rather useful with request - response scenario.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Using Message Selector with MDB
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.