org.springframework.jms.core.BrowserCallback<T> |
Callback for browsing the messages in a JMS queue.
To be used with JmsTemplate's callback methods that take a BrowserCallback argument, often implemented as an anonymous inner class.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Perform operations on the given javax.jms.Session and javax.jms.QueueBrowser.
|
Perform operations on the given javax.jms.Session and javax.jms.QueueBrowser.
The message producer is not associated with any destination.
session | the JMS Session object to use |
---|---|
browser | the JMS QueueBrowser object to use |
Session
, if any (can be null
)if thrown by JMS API methods | |
JMSException |