Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can Single EJB Subscribe to Multiple Topics?  RSS feed

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can Single EJB Subscribe to Multiple Topics?
or
can we create multiple instance of single MDB using ejb-jar.xml

If yes then how?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36434
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMS Selectors let you narrow down which messages you receive from a topic. That's the opposite direction of what you are looking for. I don't think it is possible to subscribe to multiple topics from the same EJB. And with the EJB 3 style of putting the topic name in the code, it is even more impossible.
 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you

Topic Closed
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!