Regarding a QueueBrowser, is it possible to associate a MessageSelector to it?
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
- Is it possible to obtain both a high school diploma and a college associate degree after completing two years in the Running Start program?
- Is it possible to associate or link documents to graphic elements in the design file?
- Regarding a QueueBrowser, is it possible to associate a MessageSelector to it?