log.error("Failed to deliver the message to the client, closing connection", t);   try { connection.close(); } catch (JMSException e) { log.error("Failed to close connection", e); }
log.warn("Failed to deliver the message to the client, perhaps the client consumer has closed", t);
   public void run()   {      try      {         if (log.isTraceEnabled()) { log.trace("handing the message " + this.getCallbackObject() + " over to the remoting layer"); }         callbackHandler.handleCallback(this);      }      catch(Throwable t)      {         log.error("Failed to deliver the message to the client, closing connection", t);                  //Close the connection         try         {            connection.close();         }         catch (JMSException e)         {            log.error("Failed to close connection", e);         }               }   }