void removeConsumerSession ( ConsumerSessionImpl consumer ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "removeConsumerSession" , consumer ) ; synchronized ( _consumers ) { _consumers . remove ( consumer ) ; } _messageProcessor . removeConsumer ( consumer ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "removeConsumerSession" ) ; }
This method simply removes a Consumer Session from our list . It is generally called by the Consumer Session as it is closing down .