Spring AMQP
  1. Spring AMQP
  2. AMQP-45

Add AbstractRoutingConnectionFactory

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.3.0.M1
    • Component/s: Core
    • Labels:

      Description

      This would be similar to Spring's AbstractRoutingDataSource and could handle cases such as thread-bound "virtualHost" values.

        Activity

        Hide
        Kyle Smith added a comment -

        I am working on a multi-tenant aware application that I would like to have publish and consume messages from multiple RabbitMQ broker instances or virtual hosts in order to maintain a separation between the tenants. Today that would mean having many different AmqpTemplate beans with identical configurations, save for different connection factories. Having the equivalent of AbstractRoutingDataSource would make the integration configuration much simpler.

        Show
        Kyle Smith added a comment - I am working on a multi-tenant aware application that I would like to have publish and consume messages from multiple RabbitMQ broker instances or virtual hosts in order to maintain a separation between the tenants. Today that would mean having many different AmqpTemplate beans with identical configurations, save for different connection factories. Having the equivalent of AbstractRoutingDataSource would make the integration configuration much simpler.
        Show
        Artem Bilan added a comment - PR: https://github.com/spring-projects/spring-amqp/pull/146

          People

          • Assignee:
            Artem Bilan
            Reporter:
            Mark Fisher
          • Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: