if (log.isTraceEnabled()) { log.trace("ignoring exception on " + Util.guidToString(id)); }
if (trace) { log.trace("ignoring exception on " + Util.guidToString(id)); }
   public static void callOnMessage(ConsumerDelegate cons,                                    SessionDelegate sess,                                    MessageListener listener,                                    String consumerID,                                    boolean isConnectionConsumer,                                    Message m,                                    int ackMode)         throws JMSException   {      preDeliver(sess, consumerID, m, isConnectionConsumer);                          try      {               listener.onMessage(m);               }      catch (RuntimeException e)      {         Serializable id = m.getJMSMessageID();         log.error("RuntimeException was thrown from onMessage, " + Util.guidToString(id) + " will be redelivered", e);                  //See JMS1.1 spec 4.5.2         if (ackMode == Session.AUTO_ACKNOWLEDGE || ackMode == Session.DUPS_OK_ACKNOWLEDGE)         {            //Cancel the message - this means it will be immediately redelivered            if (log.isTraceEnabled()) { log.trace("cancelling " + Util.guidToString(id)); }            cons.cancelMessage(id);         }         else         {            //Session is either transacted or CLIENT_ACKNOWLEDGE            //We just deliver next message            if (log.isTraceEnabled()) { log.trace("ignoring exception on " + Util.guidToString(id)); }         }      }                  postDeliver(sess, consumerID, m, isConnectionConsumer);             }