aspose 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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS and multithreading issue