Java client does not throw exceptions for failures during connection 
establishment
----------------------------------------------------------------------------------

                 Key: QPID-594
                 URL: https://issues.apache.org/jira/browse/QPID-594
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M2
         Environment: Any
            Reporter: Robert Greig
            Priority: Critical


The client does not deal with errors during connection establishment properly.

For example, if the user tries to connect to an invalid virtual host an 
exception should be thrown in the ConnectionFactory.createConnection method. 
This does not happen.

It appears that the exceptions are routed to the connection's exception 
listener which of course is useless when the connection has not been 
established. There are also issues with how this interacts with failover.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to