[ https://issues.apache.org/jira/browse/DISPATCH-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim updated DISPATCH-499: -------------------------------- Attachment: DISPATCH-499.patch Simple fix. > in propagating link detach the info field is dropped > ---------------------------------------------------- > > Key: DISPATCH-499 > URL: https://issues.apache.org/jira/browse/DISPATCH-499 > Project: Qpid Dispatch > Issue Type: Bug > Reporter: Gordon Sim > Attachments: DISPATCH-499.patch > > > 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: > {noformat} > [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"]] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org