aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Reading Message multipletimes 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 "Reading Message multipletimes" Watch "Reading Message multipletimes" New topic
Author

Reading Message multipletimes

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
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


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

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

Joined: Feb 10, 2001
Posts: 641
Thanks Much Ramprasad , browser helped to solve my problem.
 
 
subject: Reading Message multipletimes