Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-645

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.GA
    • 2.0.0.B1
    • amqp-ruby-client
    • None
    • Hide
      git clone https://github.com/rh-messaging/cli-proton-ruby.git
      cd cli-proton-ruby
      patch < cli_proton_ruby.diff # attached (https://issues.jboss.org/secure/attachment/12432085/cli_proton_ruby.diff)
      # edit file link_name_reproduder.sh to set location of running broker
      ./link_name_reproducer.sh # run reproducer
      
      Show
      git clone https://github.com/rh-messaging/cli-proton-ruby.git cd cli-proton-ruby patch < cli_proton_ruby.diff # attached (https://issues.jboss.org/secure/attachment/12432085/cli_proton_ruby.diff) # edit file link_name_reproduder.sh to set location of running broker ./link_name_reproducer.sh # run reproducer
    • March 2018

      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.

              rhn-engineering-aconway Alan Conway
              rkubis_kafka_devexp Radim Kubis
              Radim Kubis Radim Kubis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: