接口的使用
org.springframework.jms.core.SessionCallback
使用SessionCallback的程序包 程序包 说明 org.springframework.jms.core Core package of the JMS support.org.springframework.jms.core中SessionCallback的使用
参数类型为SessionCallback的org.springframework.jms.core中的方法 修饰符和类型 方法 说明 <T> T
JmsOperations. execute(SessionCallback<T> action)
Execute the action specified by the given action object within a JMS Session.<T> T
JmsTemplate. execute(SessionCallback<T> action)
<T> T
JmsTemplate. execute(SessionCallback<T> action, boolean startConnection)
Execute the action specified by the given action object within a JMS Session.