|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionCallback
Callback for executing any number of operations on a provided
Session.
To be used with the JmsTemplate.execute(SessionCallback)
method, often implemented as an anonymous inner class.
JmsTemplate.execute(SessionCallback)| Method Summary | |
|---|---|
java.lang.Object |
doInJms(javax.jms.Session session)
Execute any number of operations against the supplied JMS Session, possibly returning a result. |
| Method Detail |
|---|
java.lang.Object doInJms(javax.jms.Session session)
throws javax.jms.JMSException
Session, possibly returning a result.
session - the JMS Session
Session, if any (so can be null)
javax.jms.JMSException - if thrown by JMS API methods
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||