Qpid Proton
  1. Qpid Proton
  2. PROTON-160

Allow open.hostname to be configured independently of network hostname

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1, 0.2
    • Fix Version/s: 0.5
    • Component/s: proton-c, proton-j
    • Labels:

      Description

      In a scaled-out, multi-tenant broker environment, the host on which the container is running is often different from the host to which a client is establishing the tcp connection. The 'hostname' field in the connection open performative was added to support this scenario. Currently there's no way to control this from the Messenger API.

      Options include:

      (1) (preferred) add a new 'networkhost' field to Message to allow the network address to be specified. If provided, this information would be used when establishing the network connection and the data in the 'address' field would be used in the connection open hostname field. This is somewhat in line with the way that connection redirect (amqp:connection:redirect) is specified.

      (2) extend the syntax of address with query string to supply hostname, e.g., username:password@tcpaddress:tcpport/entityname?hostname=foo where 'foo' would become the hostname used in the connection open frame. This is the approach used by the current Qpid AMQP 1.0 JMS client.

        Activity

        David Ingham created issue -
        Rafael H. Schloming made changes -
        Field Original Value New Value
        Assignee Rafael H. Schloming [ rhs ]
        Rafael H. Schloming made changes -
        Fix Version/s 0.5 [ 12324004 ]
        Rafael H. Schloming made changes -
        Component/s proton-j [ 12319646 ]
        Rafael H. Schloming made changes -
        Labels api
        Rafael H. Schloming made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Rafael H. Schloming
            Reporter:
            David Ingham
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development