Class SimpleRoutingAmqpConnectionFactory
java.lang.Object
org.springframework.amqp.rabbitmq.client.AbstractRoutingAmqpConnectionFactory
org.springframework.amqp.rabbitmq.client.SimpleRoutingAmqpConnectionFactory
- All Implemented Interfaces:
AmqpConnectionFactory,RoutingAmqpConnectionFactory,InitializingBean
An
AbstractRoutingAmqpConnectionFactory implementation which gets a lookupKey
for the current AmqpConnectionFactory from a thread-bound resource by the key of the
instance of this AmqpConnectionFactory.- Since:
- 4.2
- Author:
- Robin Collard
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.amqp.rabbitmq.client.AbstractRoutingAmqpConnectionFactory
addTargetConnectionFactory, afterPropertiesSet, determineTargetConnectionFactory, getConnection, getTargetConnectionFactory, isLenientFallback, removeTargetConnectionFactory, setDefaultTargetConnectionFactory, setLenientFallback, setTargetConnectionFactories
-
Constructor Details
-
SimpleRoutingAmqpConnectionFactory
public SimpleRoutingAmqpConnectionFactory()
-
-
Method Details
-
determineCurrentLookupKey
Description copied from class:AbstractRoutingAmqpConnectionFactoryDetermine the current lookup key. This will typically be implemented to check a thread-bound context.- Specified by:
determineCurrentLookupKeyin classAbstractRoutingAmqpConnectionFactory- Returns:
- the lookup key.
-