Ganesh Murthy created DISPATCH-1089:
---------------------------------------

             Summary: Dispatch creates sender autolinks with null source 
terminus and receiver autolinks with null target terminus
                 Key: DISPATCH-1089
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1089
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Container
    Affects Versions: 1.2.0, 1.1.0
            Reporter: Ganesh Murthy
            Assignee: Ganesh Murthy
             Fix For: 1.3.0


Steps to reproduce

Start the Qpid Java Broker

Start the Dispatch Router with the attached config file

The router sends the following attach to the Broker
{noformat}
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]{noformat}
The broker responds with an attach followed by a detach.
{noformat}
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."]]
{noformat}
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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to