Ken Giusti created DISPATCH-1643:
------------------------------------

             Summary: Support auto link idle time out
                 Key: DISPATCH-1643
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1643
             Project: Qpid Dispatch
          Issue Type: New Feature
          Components: Router Node
    Affects Versions: 1.12.0
            Reporter: Ken Giusti
             Fix For: Backlog


Use case:

Deployments that create and delete broker queues (accessed via auto-links) on 
demand.

A service that creates auto-links to a broker when it connects.  The auto-links 
trigger the creation of a queue(s) on the broker.  When the service shuts down 
it removes the auto-links and thus deletes the queue(s) [dead lettering any 
orphaned messages].

If the service should fail without cleaning up its auto-link/queue resources 
the auto-link (and associated queue) will exist indefinitely.

Feature description:

Add an idle timeout attribute to the auto-link configuration.  If the generated 
link loses its router-side consumer(s)/producer(s) then after the idle timeout 
expires the router should remove the auto-link configuration and teardown the 
link.  With the proper broker configuration this should result in the 
corresponding queue being deleted and optionally any messages it contained 
moved to a dead letter queue or simply discarded.

 

 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to