On 30/01/18 12:03, Hudalla Kai (INST/ECS4) wrote:
Is it also ok for the receiver to send an attach with close=true in response to 
the reouter's detach (close=false), effectively closing the link for good?

No, that would not work. The close actually needs to get to the broker, which is where the subscription is held. However the detach from the router is an indication that 'connection' to the broker has been lost. It is in some ways similar to losing the tcp connection when directly subscribed to a broker.

In order to close the link for good, you would need to re-establish the link (through the router, to the broker) and then close it.

*However*, if you don't want the subscription to survive such disconnection, you can simply avoid making it durable and expiring on link detach. Then the distinction between detach with closed=true and closed=false is irrelevant.

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

Reply via email to