File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes JMS and multithreading issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS and multithreading issue" Watch "JMS and multithreading issue" New topic
Author

JMS and multithreading issue

Mayank Mishra
Greenhorn

Joined: Oct 20, 2004
Posts: 5
Can I create multiple threads,all being subscribers to a SINGLE TOPIC and sharing a SINGLE JMS SESSION?


Mayank
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi Mayank,

In theory you can, but your app will be responsible to synchronize the data access. In practice... you better stay away.
Regards.


I think, therefore I exist -- Rene Descartes
 
jQuery in Action, 2nd edition
 
subject: JMS and multithreading issue
 
Similar Threads
JMS Session single threaded -> multi threaded
Question about Message Driven Bean clustering
JMS cluster in Weblogic
High Avilability: to what point?
Single MDB instane - multiple messages ?