Apache.NMS.ActiveMQ.MessageConsumer.MessageConsumerSynchronization.BeforeEnd C# (CSharp) Method

BeforeEnd() public method

public BeforeEnd ( ) : void
return void
            public void BeforeEnd()
            {
                Tracer.DebugFormat("MessageConsumerSynchronization - BeforeEnd Called for Consumer {0}.",
                                   this.consumer.ConsumerId);
                this.consumer.Acknowledge();
                this.consumer.synchronizationRegistered = false;
            }