code: public void unregisterConsumer( LocalMessageConsumer consumer )
      {
      	consumersLock.writeLock().lock();
      	try
      	{
      		localConsumers.remove(consumer);
      	}
      	finally
      	{
      		consumersLock.writeLock().unlock();
      	}
      }
docs: Unregister a message listener