if (log.isTraceEnabled()) { log.trace("sending message: " + m); }
if (trace) { log.trace("Sending message: " + m); }
   public void send(Message m) throws JMSException   {      if (closed)      {         throw new IllegalStateException("Producer is closed");      }            if (log.isTraceEnabled()) { log.trace("sending message: " + m); }            sessionEndpoint.connectionEndpoint.sendMessage(m, null);   }