Qpid
  1. Qpid
  2. QPID-4261

[Java client] add options to Binding URLs to allow specifying exchange properties when using custom exchanges

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19
    • Component/s: Java Client
    • Labels:
      None

      Description

      Add options to Binding URLs to allow specifying exchange properties when using custom exchanges.

      When using AMQP 0-8/0-9/0-9-1 it is necessary to use the BindingURL destination format. Due to the clients historic silo'd use of the mandatory amq.direct and amq.topic for Queues and Topics respectively, the BindingURL syntax doesn't provide any means to specify the properties of the exchanges for which the client implicitly sends exchange-declare commands during producer/consumer creation. This severely limits the clients ability to use custom exchanges and interact with systems which already do.

        Activity

        Hide
        Rob Godfrey added a comment -

        Change looks good to me - note that it also removes some dead methods from the MessageProducer interface and it's implementations.

        Show
        Rob Godfrey added a comment - Change looks good to me - note that it also removes some dead methods from the MessageProducer interface and it's implementations.
        Hide
        Robbie Gemmell added a comment - - edited

        I have added new options 'exchangedurable', 'exchangeautodelete', and 'exchangeinternal' to the BindingURLs (all defaulting to false if not present, for compatibility) to allow setting the exchange properties, and wired them up to affect the ExchangeDeclare commands sent during producer/consumer creation.

        Change commited to trunk at r1379748: http://svn.apache.org/viewvc?view=revision&revision=1379748

        Show
        Robbie Gemmell added a comment - - edited I have added new options 'exchangedurable', 'exchangeautodelete', and 'exchangeinternal' to the BindingURLs (all defaulting to false if not present, for compatibility) to allow setting the exchange properties, and wired them up to affect the ExchangeDeclare commands sent during producer/consumer creation. Change commited to trunk at r1379748: http://svn.apache.org/viewvc?view=revision&revision=1379748

          People

          • Assignee:
            Rob Godfrey
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development