Interface RoutingConnectionFactory
- All Known Implementing Classes:
AbstractRoutingConnectionFactory,LocalizedQueueConnectionFactory,SimpleRoutingConnectionFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implementations select a connection factory based on a supplied key.
- Since:
- 1.4.5
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionReturns theConnectionFactorybound to given lookup key, or null if one does not exist.
-
Method Details
-
getTargetConnectionFactory
Returns theConnectionFactorybound to given lookup key, or null if one does not exist.- Parameters:
key- The lookup key to which theConnectionFactoryis bound- Returns:
- the
ConnectionFactorybound to the given lookup key, or null if one does not exist
-