Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1790

[ruby] Link name is not generated in open_sender when using hash as parameter

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.21.0
    • proton-c-0.22.0
    • ruby-binding
    • None

    Description

      See https://issues.jboss.org/browse/ENTMQCL-645

      When using:

      container.connect(...).open_sender("<broker>")

      Link name is generated and used in attach phase (trace).

      [0x1a41270]:0 -> @attach(18) [name="f32b20d8-236e-4d21-9f0d-50afd0e5a6ad/1", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) [address="<address>", durable=0, timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]

      When using:

      container.connect(...).open_sender({:target => "<broker>"})

      Link name is NOT generated and is empty in attach phase (trace).

      [0x199f3c0]:0 -> @attach(18) [handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) [address="<address>", durable=0, timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]

      Link name is mandatory. If link name is not set, broker immediately closes the connection.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aconway Alan Conway
            aconway Alan Conway
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment