Qpid
  1. Qpid
  2. QPID-4023

restore connection URL setter to enable using an AMQConnectionFactoy instance created with the default constructor

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.16
    • Fix Version/s: 0.17
    • Component/s: Java Client
    • Labels:
      None

      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.

        Activity

        Hide
        Robbie Gemmell added a comment -

        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.

        Show
        Robbie Gemmell added a comment - 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.

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development