The NMS Class Library (.Net Messaging Library)

Connection.RemoveConsumer Method 

Remove a consumer

public void RemoveConsumer(
   ConsumerId consumerId
);

Parameters

consumerId
A ConsumerId

See Also

Connection Class | ActiveMQ Namespace