spring-framework / org.springframework.jms.support / JmsUtils / closeSession

closeSession

open static fun closeSession(@Nullable session: Session): Unit

Close the given JMS Session and ignore any thrown exception. This is useful for typical finally blocks in manual JMS code.

Parameters

session - the JMS Session to close (may be null)