You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2018/03/12 14:39:00 UTC

[jira] [Created] (PROTON-1790) [ruby] Link name is not generated in open_sender when using hash as parameter

Alan Conway created PROTON-1790:
-----------------------------------

             Summary: [ruby] Link name is not generated in open_sender when using hash as parameter
                 Key: PROTON-1790
                 URL: https://issues.apache.org/jira/browse/PROTON-1790
             Project: Qpid Proton
          Issue Type: Bug
            Reporter: Alan Conway


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.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org