Interface destinationResolver<d>
- Type Parameters:
d- the destination type
- All Known Implementing Classes:
BeanFactoryMessageChanneldestinationResolver, CachingdestinationResolverProxy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for resolving a String destination name to an actual destination
of type
<d>.- Since:
- 4.0
- Author:
- Mark Fisher
-
Method Summary
Modifier and TypeMethoddescriptionresolvedestination(String name) Resolve the given destination name.
-
Method details
-
resolvedestination
Resolve the given destination name.- Parameters:
name- the destination name to resolve- Returns:
- the resolved destination (never
null) - Throws:
destinationResolutionException- if the specified destination wasn't found or wasn't resolvable for any other reason
-