@ Override public void stop ( ) throws Exception { log . info ( "Stopping {}..." , name ) ; submitBuffer ( true ) ; if ( coreContainer != null ) { coreContainer . shutdown ( ) ; } if ( consumer != null ) { try { consumer . close ( ) ; } catch ( JMSException jmse ) { log . warn ( "Failed to close consumer: {}" , jmse . getMessage ( ) ) ; throw jmse ; } } if ( session != null ) { try { session . close ( ) ; } catch ( JMSException jmse ) { log . warn ( "Failed to close consumer session: {}" , jmse ) ; } } if ( connection != null ) { try { connection . close ( ) ; } catch ( JMSException jmse ) { log . warn ( "Failed to close connection: {}" , jmse ) ; } } timer . cancel ( ) ; }
Stop the Render Queue Consumer . Including stopping the storage and indexer