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.

@FunctionalInterface public interface destinationResolver<d>
Strategy for resolving a String destination name to an actual destination of type <d>.
Since:
4.0
Author:
Mark Fisher
  • Method Summary

    Modifier and Type
    Method
    description
    Resolve the given destination name.
  • Method details

    • resolvedestination

      d resolvedestination(String name) throws destinationResolutionException
      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