Method Summary |
|
public static void | closeConnection(Connection con) Close the given JMS Connection and ignore any thrown exception. |
public static void | closeConnection(Connection con, boolean stop) Close the given JMS Connection and ignore any thrown exception. |
public static void | closeMessageConsumer(MessageConsumer consumer) Close the given JMS MessageConsumer and ignore any thrown exception. |
public static void | closeMessageProducer(MessageProducer producer) Close the given JMS MessageProducer and ignore any thrown exception. |
public static void | closeQueueRequestor(QueueRequestor requestor) Close the given JMS QueueRequestor and ignore any thrown exception. |
public static void | closeSession(Session session) Close the given JMS Session and ignore any thrown exception. |
public static void | commitIfNecessary(Session session) Commit the Session if not within a JTA transaction. |
public static JmsException | convertJmsAccessException(JMSException ex) Convert the specified checked
javax.jms.JMSException JMSException to
a Spring runtime
org.springframework.jms.JmsException JmsException equivalent. |
public static void | rollbackIfNecessary(Session session) Rollback the Session if not within a JTA transaction. |