internal void DoClose()
{
Shutdown();
RemoveInfo removeCommand = new RemoveInfo();
removeCommand.ObjectId = this.ConsumerId;
if (Tracer.IsDebugEnabled)
{
Tracer.DebugFormat("Remove of Consumer[{0}] sent last delivered Id[{1}].",
this.ConsumerId, this.lastDeliveredSequenceId);
}
removeCommand.LastDeliveredSequenceId = lastDeliveredSequenceId;
this.session.Connection.Oneway(removeCommand);
}