protected final AbstractSession getSession ( ) throws JMSException { if ( sessionRef == null ) throw new FFMQException ( "Message has no associated session" , "CONSISTENCY" ) ; AbstractSession session = sessionRef . get ( ) ; if ( session == null ) throw new FFMQException ( "Message session is no longer valid" , "CONSISTENCY" ) ; return session ; }
Get the parent session