aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Can Single EJB Subscribe to Multiple Topics? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Can Single EJB Subscribe to Multiple Topics?" Watch "Can Single EJB Subscribe to Multiple Topics?" New topic
Author

Can Single EJB Subscribe to Multiple Topics?

Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
Can Single EJB Subscribe to Multiple Topics?
or
can we create multiple instance of single MDB using ejb-jar.xml

If yes then how?


Regards
Azrael Noor
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382
Thank you

Topic Closed
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can Single EJB Subscribe to Multiple Topics?