Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-143

Fluent Binding API unclear: change "from(Queue)" to "bind(Queue)"

    XMLWordPrintable

    Details

    • Type: Refactoring
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.RC2
    • Component/s: Core
    • Labels:
      None

      Description

      The Binding Builder works like this: BindingBuilder.from(fanOutQueue).to(fanoutExchange)
      I would argue that the message are sent from the Exchange to the Queue and therefore the API should be:
      BindingBuilder.from(fanoutExchange).to(fanOutQueue)

        Attachments

          Activity

            People

            Assignee:
            david_syer Dave Syer
            Reporter:
            eberhardwolff Eberhard Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: