Qpid
  1. Qpid
  2. QPID-1758

Add AMQP options on queue.delete, queue.declare, exchange.declare in qpid-config

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: M4
    • Fix Version/s: 0.6
    • Component/s: Python Tools
    • Labels:
      None

      Description

      Add some useful options to queue.delete, queue.declare, exchange.declare in qpid-config :

      queue.delete : if_unused and if_empty
      queue.declare : alternate_exchange, passive, exclusive
      exchange.declare : alternate_exchange, passive

      1. qpid-config.diff
        7 kB
        Ffrench Mathilde

        Activity

        Hide
        Ted Ross added a comment -

        Thanks for the patch.

        One comment... The "--exclusive" option doesn't make a lot of sense for this utility so I've removed it from the patched file. This is because declaring a queue "exclusive" limits its use to the session that created it. In this case, it's qpid-config's session that creates the queue and that session is closed as soon as qpid-config exits.

        -Ted

        Show
        Ted Ross added a comment - Thanks for the patch. One comment... The "--exclusive" option doesn't make a lot of sense for this utility so I've removed it from the patched file. This is because declaring a queue "exclusive" limits its use to the session that created it. In this case, it's qpid-config's session that creates the queue and that session is closed as soon as qpid-config exits. -Ted
        Hide
        Ffrench Mathilde added a comment -

        diff of the patch

        Show
        Ffrench Mathilde added a comment - diff of the patch
        Hide
        Ffrench Mathilde added a comment -

        My patch

        Show
        Ffrench Mathilde added a comment - My patch

          People

          • Assignee:
            Ted Ross
            Reporter:
            Ffrench Mathilde
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development