Dhruv
Dhruv

Reputation: 10693

Solace JMS queue: search and process message

Could I search any particular message in solace JMS queue and then process in prior to other messages? Do we have such functionality w.r.t to solace queue.

Upvotes: 1

Views: 327

Answers (1)

Wai Leong
Wai Leong

Reputation: 438

There isn't such a functionality to search a solace queue for messages. These are designed for messages to be processed in the order in which the are received.

You can use a QueueBrowser to get a static snapshot of the messages and process those messages you want prior to others. Using selectors might help too, if it is applicable for your search use-case. But only the native Java implementation of the Solace API can delete messages; a JMS QueueBrowser doesn't provide that.

Upvotes: 1

Related Questions