Top Description Methods
org.springframework.messaging.core

public Interface DestinationResolver<D>

Known Direct Implementers
org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver, org.springframework.messaging.core.CachingDestinationResolverProxy
Annotations
@FunctionalInterface
Type Parameters
<D>
the destination type

Strategy for resolving a String destination name to an actual destination of type <D>.
Author
Mark Fisher
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public D

Returns:

the resolved destination (never null)
resolveDestination
(String
the destination name to resolve
name
)

Resolve the given destination name.

Method Detail

resolveDestinationback to summary
public D resolveDestination(String name) throws DestinationResolutionException

Resolve the given destination name.

Parameters
name:String

the destination name to resolve

Returns:D

the resolved destination (never null)

Exceptions
DestinationResolutionException:
if the specified destination wasn't found or wasn't resolvable for any other reason