Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1643

Support auto link idle time out

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.12.0
    • Backlog
    • Router Node
    • None

    Description

      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.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: