Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Regarding a QueueBrowser, is it possible to associate a MessageSelector to it?

0
Posted

Regarding a QueueBrowser, is it possible to associate a MessageSelector to it?

0

Location: http://www.jguru.com/faq/view.jsp?EID=316457 Created: Jan 30, 2001 Modified: 2001-01-31 18:37:26.426 Author: Nicholas Whitehead (http://www.jguru.com/guru/viewbio.jsp?EID=1260) Question originally posed by Dean Sheppard (http://www.jguru.com/guru/viewbio.jsp?EID=14227 You create a queue browser using one of two API calls: • public QueueBrowser createBrowser(Queue queue) This call will return a browser for all messages. • public QueueBrowser createBrowser(Queue queue, java.lang.String messageSelector) In this call, the messageSelector parameter allows you to associate a message selector with the forthcoming browser. However, there is no way (in the JMS spec) to associate a message selector with an existing browser.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123