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 » MessageSelector MDB

Post new topic  Reply to topic
 MessageSelector MDB « View previous topic :: View next topic » 
Author Message
pressy
PostPosted: Wed Jul 19, 2006 8:11 am    Post subject: MessageSelector MDB Reply with quote

Newbie

Joined: 10 Jul 2006
Posts: 7

Hi

I have 2 MDB's( MDB1,MDB2 )configured to the same Listener port. Now in MDB2 i made some selection like JMSType='car' and the other i did not modify .

When i run my application, though i have specified the selection all the messages were processed by MDB2.

Now when i specify a message selection for MDB1, the application is working well, means the selection is happening....

Is it how it behaves or did i missed any point over here...

(i have configured MDB's properly in the ejb-jar.xml file through activation-config-property)

My requirement is that if only 1 MDB is the selector it should process messages of that kind only.

Thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 19, 2006 2:16 pm    Post subject: Reply with quote

Grand High Poobah

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

I don't think 'car' is an acceptable value for JMSType. Read up on using java manual.

You can create your own properties and query on their values. It looks like you are using the JMSEngine and I am not familiar with the performance implication of selector in the WAS JMSEngine environment.

For MQ you should not use any selectors that do not use the correlationId or messageId the "native" way. (Performance)

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MessageSelector 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.