• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can Single EJB Subscribe to Multiple Topics?

 
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
Marshal
Posts: 34974
379
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