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

Specify which connection factory to use when creating exchanges and queues

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.2.0.RC1
    • Component/s: RabbitMQ
    • Labels:

      Description

      Add attributes to <rabbit:queue> and <rabbit:exchange> to specify which connection factory to use or admin to use.

      This is required systems which 'straddles' two different application environments each of which have their own RabbitMQ brokers. You can't run both environments on the same broker as there will be name clashing and messages going to the wrong system.

      One work around for this is to use the code configuration instead of XML application context configuration.

        Issue Links

          Activity

          Show
          grussell Gary Russell added a comment - PR: https://github.com/SpringSource/spring-amqp/pull/106
          Hide
          hillert Gunnar Hillert added a comment -

          Merged PR

          Show
          hillert Gunnar Hillert added a comment - Merged PR

            People

            • Assignee:
              grussell Gary Russell
              Reporter:
              monkeyhands David Smith
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: