Hi there -

The java client code (downloaded here: 
http://www.apache.org/dist/qpid/0.5/qpid-java-0.5.tar.gz) has a number of 
printStackTrace() calls in the error handling routines.  I'm guessing these are 
temporary and will disappear as the code matures.  In the meantime, I'm getting 
a stack dump on a simple failed connect.  This is a plain jane direct connect 
with a purposefully bad IP address.  

I  would really like to find a way to quiet the stack trace.  Any suggestions?

Here's an example from AMQConnection.java:

    void sendMessage(AMQDestination destination, Message origMessage, 
AbstractJMSMessage message,
                     UUID messageId, int deliveryMode, int priority, long 
timeToLive, boolean mandatory,
                     boolean immediate, boolean wait) throws JMSException
    {
        ...
        try
        {
                ...
        }
        catch (RuntimeException rte)
        {
            JMSException ex = new JMSException("Exception when sending 
message");
            rte.printStackTrace();
            ex.setLinkedException(rte);
            throw ex;
        }
    }
  
Thanks,
Brian


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscr...@qpid.apache.org

Reply via email to