Gordon Sim created DISPATCH-2050:
------------------------------------

             Summary: fields for received delivery state are not relayed 
                 Key: DISPATCH-2050
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2050
             Project: Qpid Dispatch
          Issue Type: Bug
            Reporter: Gordon Sim


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.
{noformat}
[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]]
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to