Qpid
  1. Qpid
  2. QPID-4751

Hello example still use the 'test' virtualhost, which no longer exists in the initial Java broker config

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21
    • Fix Version/s: 0.22
    • Component/s: None
    • Labels:
      None

      Description

      Connection URLs in existing examples still use the 'test' virtualhost, which no longer exists in the initial Java broker config, which removed the thre previous 'localhost' 'development' and 'test' virtualhosts and instead has only a single 'default' virtualhsot. As a result, the examples will fail to run unless the user adds a 'test' virtualhost or changes the connection URL themselves.

      The example configurations should be updated to remove the virtualhost from the URL entirely, which will make the client connect to the brokers current default virtualhost regardless what it is actually called, meaning the examples will work against newer and older releases shipping config as well as after the user reconfigures the broker.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Alex merged the above change to the 0.22 branch via: http://svn.apache.org/r1470490

        Show
        Robbie Gemmell added a comment - Alex merged the above change to the 0.22 branch via: http://svn.apache.org/r1470490
        Hide
        Robbie Gemmell added a comment -

        Narrowed scope to the Hello example, any others can occur via their own JIRA.

        Change committed in http://svn.apache.org/r1470474

        Show
        Robbie Gemmell added a comment - Narrowed scope to the Hello example, any others can occur via their own JIRA. Change committed in http://svn.apache.org/r1470474

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development