Karl
Karl

Reputation: 27

Browsing JMS Durable Subscription

One of the projects I'm on is currently using a JMS Topic setup, with the client application using containing listeners for two different durable subscribers.

Long story short, we're looking at several different ways to solve an ordering issue, and one of those is by looking at JMSTimestamps. At first we were thinking we might use whatever is the durable sub equivalent of a QueueBrowser, but so far I haven't found anything.

Is there any way to accomplish either browsing the contents of a durable subscription, or seeing the next message without actually consuming it?

Upvotes: 1

Views: 555

Answers (2)

titou10
titou10

Reputation: 2987

You can use JMSToolBox on sourceforge to subscribe to the Topic in parallel of your regular clients and capture all the messages post to that topic

Upvotes: 0

Varsha
Varsha

Reputation: 1198

JMS does not provide any API to browse messages. However there is TopicBrowser interface which is Oracle-specific extension to JMS.

Upvotes: 1

Related Questions