Is it possible to browse a topic? Or, is browsing only available on queues?

Chris Dupuy

The JMS specification does not define a way of browsing a topic, but it is really quite simple: just subscribe to the topic using a non-transaction, non-durable subscriber. You get the messages that are posted to the topic, but you do not affect delivery to other subscribers. In a Queue there is a defined way of browsing, because looking at or retriving messages from a queue could affect delivery to other clients.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact