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

Support automatic declaration for List<Binding> as well as others

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.5 RC1
    • Component/s: RabbitMQ
    • Labels:

      Description

      I had used an enum with BindingBuilder to create a list of Binding s that I need declared. I wanted to have the logic of which routing keys isolated from the code that actually declares the bindings to make it easier to modify in the future.

      Without support for List<Binding> I had to have several different @Bean each returning a single Binding. I assume this could be useful for other entities like Queue and Exchange.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            dovidkopel Dovid Kopel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: