- All Known Subinterfaces:
- All Known Implementing Classes:
- 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
Strategy interface for resolving JMS destinations.
- Juergen Hoeller
- See Also:
(@Nullable Session session, String destinationName, boolean pubSubDomain) throws JMSExceptionResolve the given destination name, either as located resource or as dynamic destination.
session- the current JMS Session (may be
nullif the resolver implementation is able to work without it)
destinationName- the name of the destination
trueif the domain is pub-sub,
- the JMS destination (either a topic or a queue)
JMSException- if the JMS Session failed to resolve the destination
DestinationResolutionException- in case of general destination resolution failure