Description
Steps to reproduce
Start the Qpid Java Broker
Create a queue called myQueue
Start the Dispatch Router with the attached config file
The router sends the following attach to the Broker
2018-07-26 11:26:00.573105 +0200 SERVER (trace) [1]:0 -> @attach(18) [name="qdlink.77HlwzdjtvX7pG1", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) [address="myTopic", durable=0, expiry-policy=:"link-detach", timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0]
The broker responds with an attach followed by a detach.
2018-07-26 11:26:00.604407 +0200 SERVER (trace) [1]:0 <- @attach(18) [name="qdlink.77HlwzdjtvX7pG1", handle=0, role=true] 2018-07-26 11:26:00.604429 +0200 SERVER (trace) [1]:0 <- @detach(22) [handle=0, closed=true, error=@error(29) [condition=:"amqp:invalid-field", description="received Attach with remote null terminus."]]
The outgoing sender (router) seems to have a target but null source terminus
According to the spec -
If no source is specified on an outgoing link, then there is no source currently attached to the link. A link with no source will never produce outgoing messages.
If no target is specified on an incoming link, then there is no target currently attached to the link. A link with no target will never permit incoming messages.
The router must specify a source terminus when creating sending links and must specify target terminus when creating receiving links