|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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.
JmsTemplate.browse(BrowserCallback)
,
JmsTemplate.browseSelected(String, BrowserCallback)
Method Summary | |
---|---|
T |
doInJms(Session session,
QueueBrowser browser)
Perform operations on the given Session and QueueBrowser . |
Method Detail |
---|
T doInJms(Session session, QueueBrowser browser) throws JMSException
Session
and QueueBrowser
.
The message producer is not associated with any destination.
session
- the JMS Session
object to usebrowser
- the JMS QueueBrowser
object to use
Session
, if any (can be null
)
JMSException
- if thrown by JMS API methods
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |