Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-906

Autocreate queue doesn't work with non JMS client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • AMQ 7.1.0.GA
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Workaround Exists
    • Hide

      There is an option pointed out by @mtaylor to do following in address-settings of broker.xml file for all future queue (part matching '#'):

      <default-address-routing-type>ANYCAST</default-address-routing-type>
      
      Show
      There is an option pointed out by @mtaylor to do following in address-settings of broker.xml file for all future queue (part matching '#'): <default-address-routing-type>ANYCAST</default-address-routing-type>
    • Hide
      1. Download artemis and create default instance with user admin
      2. run PN_TRACE_FRM=1 python simple_send.py --a "amqp://admin:admin@localhost:5672/example" - -m 1
      3. PN_TRACE_FRM=1 python simple_recv.py --a "amqp://admin:admin@localhost:5672/example" - -m 1
      Show
      Download artemis and create default instance with user admin run PN_TRACE_FRM=1 python simple_send.py --a "amqp://admin:admin@localhost:5672/example" - -m 1 PN_TRACE_FRM=1 python simple_recv.py --a "amqp://admin:admin@localhost:5672/example" - -m 1

    Description

      Queue is not created when sender send message and receiver cannot receive (because no queue is created).
      This is a regression introduced with the latest 7.1.0 CR1 build. It all worked well with 7.0.3 GA and previous GA.

      Maybe it is Doc issue

      $ PN_TRACE_FRM=1 python simple_send.py --a "amqp://admin:admin@localhost:5672/example" - -m 1
      [0x2245f10]:  -> SASL
      [0x2245f10]:  <- SASL
      [0x2245f10]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:PLAIN, :ANONYMOUS]]
      [0x2245f10]:0 -> @sasl-init(65) [mechanism=:PLAIN, initial-response=b"\x00admin\x00admin"]
      [0x2245f10]:0 <- @sasl-outcome(68) [code=0]
      [0x2245f10]:  -> AMQP
      [0x2245f10]:0 -> @open(16) [container-id="ab7a36f2-0ed8-498b-a7a3-70d82feb848e", hostname="localhost", channel-max=32767]
      [0x2245f10]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
      [0x2245f10]:0 -> @attach(18) [name="ab7a36f2-0ed8-498b-a7a3-70d82feb848e-example", 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="example", durable=0, timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
      [0x2245f10]:  <- AMQP
      [0x2245f10]:0 <- @open(16) [container-id="0.0.0.0", max-frame-size=4294967295, channel-max=65535, idle-time-out=30000, offered-capabilities=@PN_SYMBOL[:"sole-connection-for-container", :"DELAYED_DELIVERY", :"SHARED-SUBS", :"ANONYMOUS-RELAY"], properties={:product="apache-activemq-artemis", :version="2.3.0.amq-710003-redhat-1"}]
      [0x2245f10]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=1, incoming-window=2147483647, outgoing-window=2147483647, handle-max=65535]
      [0x2245f10]:0 <- @attach(18) [name="ab7a36f2-0ed8-498b-a7a3-70d82feb848e-example", handle=0, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [], target=@target(41) [address="example"]]
      [0x2245f10]:0 <- @flow(19) [next-incoming-id=0, incoming-window=2147483647, next-outgoing-id=1, outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=1000]
      [0x2245f10]:0 -> @transfer(20) [handle=0, delivery-id=0, delivery-tag=b"1", message-format=0, settled=false, more=false, resume=false, aborted=false, batchable=false] (86) "\x00Sp\xd0\x00\x00\x00\x0b\x00\x00\x00\x05BP\x04@BR\x00\x00Ss\xd0\x00\x00\x00#\x00\x00\x00\x0dS\x01@@@@@@@\x83\x00\x00\x00\x00\x00\x00\x00\x00\x83\x00\x00\x00\x00\x00\x00\x00\x00@R\x00@\x00Sw\xd1\x00\x00\x00\x10\x00\x00\x00\x02\xa1\x08sequenceT\x01"
      [0x2245f10]:0 <- @disposition(21) [role=true, first=0, last=0, settled=true, state=@accepted(36) []]
      all messages confirmed
      [0x2245f10]:0 -> @close(24) []
      [0x2245f10]:  -> EOS
      [0x2245f10]:0 <- @close(24) []
      [0x2245f10]:  <- EOS
      
      
      
      $ PN_TRACE_FRM=1 python simple_recv.py --a "amqp://admin:admin@localhost:5672/example" - -m 1
      [0x28358d0]:  -> SASL
      [0x28358d0]:  <- SASL
      [0x28358d0]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:PLAIN, :ANONYMOUS]]
      [0x28358d0]:0 -> @sasl-init(65) [mechanism=:PLAIN, initial-response=b"\x00admin\x00admin"]
      [0x28358d0]:0 <- @sasl-outcome(68) [code=0]
      [0x28358d0]:  -> AMQP
      [0x28358d0]:0 -> @open(16) [container-id="a5241068-0d85-4655-8236-3339d13dbb3b", hostname="localhost", channel-max=32767]
      [0x28358d0]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
      [0x28358d0]:0 -> @attach(18) [name="a5241068-0d85-4655-8236-3339d13dbb3b-example", handle=0, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="example", durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
      [0x28358d0]:0 -> @flow(19) [incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=10, drain=false]
      [0x28358d0]:  <- AMQP
      [0x28358d0]:0 <- @open(16) [container-id="0.0.0.0", max-frame-size=4294967295, channel-max=65535, idle-time-out=30000, offered-capabilities=@PN_SYMBOL[:"sole-connection-for-container", :"DELAYED_DELIVERY", :"SHARED-SUBS", :"ANONYMOUS-RELAY"], properties={:product="apache-activemq-artemis", :version="2.3.0.amq-710003-redhat-1"}]
      [0x28358d0]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=1, incoming-window=2147483647, outgoing-window=2147483647, handle-max=65535]
      [0x28358d0]:0 <- @attach(18) [name="a5241068-0d85-4655-8236-3339d13dbb3b-example", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="example"], target=@target(41) [], incomplete-unsettled=false, initial-delivery-count=0]
      [0x28358d0]:0 -> (EMPTY FRAME)
      

      Attachments

        Issue Links

          Activity

            People

              rh-ee-ataylor Andy Taylor
              dkornel@redhat.com David Kornel
              Andy Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: