Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-499

in propagating link detach the info field is dropped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      The router does not propagate the info field of any error condition in a link detach. The info field may contain important information e.g. when used with amqp:redirect.

      In the following snippet you can see the info field being dropped as the detach is propagated:

      [0x1df1750]:  <- AMQP
      [0x1df1750]:0 <- @open(16) [container-id="19937f43-391c-457f-856d-83097ac9e20b", hostname="localhost", channel-max=32767]
      [0x1df1750]:0 <- @begin(17) [next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
      [0x1df1750]:0 <- @attach(18) [name="19937f43-391c-457f-856d-83097ac9e20b-test", handle=0, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="test", durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
      [0x1df1750]:0 <- @flow(19) [incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=10, drain=false]
      [0x1df1750]:  -> AMQP
      [0x1df1750]:0 -> @open(16) [container-id="Router.A", max-frame-size=16384, channel-max=32767, idle-time-out=8000, offered-capabilities=:"ANONYMOUS-RELAY", properties={:product="qpid-dispatch-router", :version="0.7.0"}]
      [0x1df1750]:0 -> @begin(17) [remote-channel=0, next-outgoing-id=0, incoming-window=61, outgoing-window=2147483647]
      [0x7fa128002df0]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=15, outgoing-window=2147483647]
      [0x7fa128002df0]:0 -> @attach(18) [name="19937f43-391c-457f-856d-83097ac9e20b-test", handle=0, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="test", durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
      [0x7fa128002df0]:0 -> @flow(19) [incoming-window=15, next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=10, drain=false]
      [0x7fa128002df0]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
      [0x7fa128002df0]:0 <- @attach(18) [name="19937f43-391c-457f-856d-83097ac9e20b-test", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
      [0x7fa128002df0]:0 <- @detach(22) [handle=0, closed=true, error=@error(29) [condition=:"amqp:redirect", description="redirect test", info={"address"="elsewhere"}]]
      [0x1df1750]:0 -> @attach(18) [name="19937f43-391c-457f-856d-83097ac9e20b-test", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
      [0x1df1750]:0 -> @detach(22) [handle=0, closed=true, error=@error(29) [condition=:"amqp:redirect", description="redirect test"]]
      

      Attachments

        1. DISPATCH-499.patch
          0.4 kB
          Gordon Sim

        Activity

          People

            tross Ted Ross
            gsim Gordon Sim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: