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 theConnectionFactory
bound to given lookup key, or null if one does not exist.
-
Method Details
-
getTargetConnectionFactory
Returns theConnectionFactory
bound to given lookup key, or null if one does not exist.- Parameters:
key
- The lookup key to which theConnectionFactory
is bound- Returns:
- the
ConnectionFactory
bound to the given lookup key, or null if one does not exist
-