consumer.cancelMessage(messageID);
consumer.cancelDelivery(messageID);
   protected void cancel(long messageID, int consumerID) throws JMSException   {      if (trace) { log.trace(this + " processing cancel for message " + messageID + " from consumer " + consumerID); }      ServerConsumerEndpoint consumer = getConsumerEndpoint(consumerID);      if (consumer == null)      {         throw new IllegalStateException("Cannot find consumer " + consumerID);      }      consumer.cancelMessage(messageID);   }