if (subscription != null) { subscription.setHasConsumer(false); }
   public void close() throws JMSException   {      if (log.isTraceEnabled()) log.trace("Close() on ServerConsumerDelegate:" + this.id);		this.setStarted(false);      this.sessionEndpoint.connectionEndpoint.receivers.remove(id);      if (subscription != null)      {         subscription.setHasConsumer(false);      }      this.sessionEndpoint.consumers.remove(id);   }