|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.jms.support.JmsUtils
Generic utility methods for working with JMS.
| Constructor Summary | |
JmsUtils()
|
|
| Method Summary | |
static void |
closeConnection(Connection con)
Close the given JMS Connection and ignore any thrown exception. |
static void |
closeMessageConsumer(MessageConsumer consumer)
Close the given JMS MessageConsumer and ignore any thrown exception. |
static void |
closeSession(Session session)
Close the given JMS Session and ignore any thrown exception. |
static JmsException |
convertJmsAccessException(JMSException ex)
Convert the specified checked JMSException to
a Spring runtime JmsException
equivalent. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JmsUtils()
| Method Detail |
public static void closeConnection(Connection con)
con - the JMS Connection to closepublic static void closeSession(Session session)
session - the JMS Session to closepublic static void closeMessageConsumer(MessageConsumer consumer)
consumer - the JMS MessageConsumer to closepublic static JmsException convertJmsAccessException(JMSException ex)
JMSException to
a Spring runtime JmsException
equivalent.
ex - the original checked JMSException to convert
ex.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||