You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2012/05/28 12:45:22 UTC

[jira] [Created] (QPID-4023) restore connection URL setter to enable using an AMQConnectionFactoy instance created with the default constructor

Robbie Gemmell created QPID-4023:
------------------------------------

             Summary: 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
             Fix For: 0.17


Previously, the default constructor was removed from the AMQConnectionFacotry code along with the URL setter requried 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 possibly 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-4023) restore connection URL setter to enable using an AMQConnectionFactoy instance created with the default constructor

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-4023:
---------------------------------

    Description: 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.  (was: Previously, the default constructor was removed from the AMQConnectionFacotry code along with the URL setter requried 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 possibly to use a new instance of AMQConnectionFactory created with the default constructor. The setter should be restored to resolve this.)
    
> 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
>             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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Assigned] (QPID-4023) restore connection URL setter to enable using an AMQConnectionFactoy instance created with the default constructor

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell reassigned QPID-4023:
------------------------------------

    Assignee: Robbie Gemmell
    
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Resolved] (QPID-4023) restore connection URL setter to enable using an AMQConnectionFactoy instance created with the default constructor

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
     [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org