|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionCallback
Callback interface for JMS code. To be used with JmsTemplate's execute method, often as an anonymous class within a method implementation.
The typical implementatino will perform multiple operations on the JMS Session, possibly returning a result object.
JmsTemplate.execute(SessionCallback)
Method Summary | |
---|---|
Object |
doInJms(Session session)
Execute operations against a JMS session possibly returning a result. |
Method Detail |
---|
Object doInJms(Session session) throws JMSException
session
- the JMS session
JMSException
- if thrown by JMS API methods
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |