[ 
https://issues.apache.org/jira/browse/QPID-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell resolved QPID-4023.
----------------------------------

    Resolution: Fixed

Method restored to allow setting the connection URL, along with a guard to 
throw a more meaningful exception (as opposed to an NPE) when connecting if the 
URL has not been set. Add unit and system tests.

Keith looked the work over prior to commit.
                
> restore connection URL setter to enable using an AMQConnectionFactoy instance 
> created with the default constructor
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-4023
>                 URL: https://issues.apache.org/jira/browse/QPID-4023
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.16
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>             Fix For: 0.17
>
>
> Previously, the default constructor was removed from the AMQConnectionFactory 
> code along with the URL setter required to use it. The default constructor 
> was subsequently restored to enable deserialisation of the instances, however 
> the setter was not. As such it is not possible to use a new instance of 
> AMQConnectionFactory created with the default constructor, the setter should 
> be restored to resolve this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to