Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-c-0.21.0
-
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.