Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS and multithreading issue

 
Mayank Mishra
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I create multiple threads,all being subscribers to a SINGLE TOPIC and sharing a SINGLE JMS SESSION?
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mayank,

In theory you can, but your app will be responsible to synchronize the data access. In practice... you better stay away.
Regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic