Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.15.0
-
None
-
None
Description
If a disposition is sent with the RECEIVED state and values for section_number and section_offset, those field values are lost in the disposition as relayed back to the sender.
E.g.
[0x55b6a79f6e50]: AMQP:FRAME:0 -> @open(16) [container-id="558d2cff-3e5a-46c6-903e-47d21a4f0101", hostname="localhost", channel-max=32767] [0x55b6a79f6e50]: AMQP:FRAME:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647] [0x55b6a79f6e50]: AMQP:FRAME:0 -> @attach(18) [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-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, max-message-size=0] [0x55b6a79f6e50]: AMQP:FRAME:0 -> @attach(18) [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-test", handle=1, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) [address="test", durable=0, timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0] [0x55b6a79f6e50]: AMQP:FRAME:0 -> @flow(19) [incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=10, drain=false] [0x55b6a79f6e50]: AMQP:FRAME: <- AMQP [0x55b6a79f6e50]: AMQP:FRAME:0 <- @open(16) [container-id="Standalone_V+zMPIsTle+Urdn", max-frame-size=16384, channel-max=32767, idle-time-out=8000, offered-capabilities=@PN_SYMBOL[:"ANONYMOUS-RELAY", :"qd.streaming-links"], desired-capabilities=@PN_SYMBOL[:"ANONYMOUS-RELAY", :"qd.streaming-links"], properties={:product="qpid-dispatch-router", :version="1.16.0-SNAPSHOT", :"qd.conn-id"=5}] [0x55b6a79f6e50]: AMQP:FRAME:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647] [0x55b6a79f6e50]: AMQP:FRAME:0 <- @attach(18) [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-test", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="test", durable=0, expiry-policy=:"session-end", timeout=0, dynamic=false], target=@target(41) [durable=0, expiry-policy=:"session-end", timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0] [0x55b6a79f6e50]: AMQP:FRAME:0 <- @attach(18) [name="558d2cff-3e5a-46c6-903e-47d21a4f0101-test", handle=1, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, expiry-policy=:"session-end", timeout=0, dynamic=false], target=@target(41) [address="test", durable=0, expiry-policy=:"session-end", timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0] [0x55b6a79f6e50]: AMQP:FRAME:0 <- @flow(19) [next-incoming-id=0, incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, handle=1, delivery-count=0, link-credit=250, drain=false] [0x55b6a79f6e50]: AMQP:FRAME:0 -> @transfer(20) [handle=1, delivery-id=0, delivery-tag=b"1", message-format=0] (25) "\x00SpE\x00SsE\x00Sw\xa1\x0cHello World!" [0x55b6a79f6e50]: AMQP:FRAME:0 <- @transfer(20) [handle=0, delivery-id=0, delivery-tag=b"\x04\x00\x00\x00\x00\x00\x00\x00", message-format=0] (25) "\x00SpE\x00SsE\x00Sw\xa1\x0cHello World!" Got delivery: Hello World! [0x55b6a79f6e50]: AMQP:FRAME:0 -> @disposition(21) [role=true, first=0, state=@received(35) [section-number=10, section-offset=5]] [0x55b6a79f6e50]: AMQP:FRAME:0 <- @disposition(21) [role=true, first=0, state=@received(35) [section-number=0, section-offset=0]]