• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading Message multipletimes  RSS feed

 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

is it possible for multiple clients to read same message multipletimes using topic in jms?

what i am trying to acheave is central location to share some value for multiple clients, i already have application that is up& running for multiple clients to read jms queue, what i need is central location i.e a jms server to hold some value and these clients read this value continusly for given time.

-P
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Queues, you have a QueueBrowser which allows you to peek without consuming.
For topics, there is no equivalent out of the box. Maybe you could use a transacted session and rollback after reading the message. It's a nasty hack with maybe bad side effects and I wouldnt recommend it, but it would achive what you desire.

ram.
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Much Ramprasad , browser helped to solve my problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!