Class SimpleDestinationResolver

java.lang.Object
org.springframework.jms.support.destination.DynamicDestinationResolver
org.springframework.jms.support.destination.SimpleDestinationResolver
All Implemented Interfaces:
CachingDestinationResolver, DestinationResolver

public class SimpleDestinationResolver extends DynamicDestinationResolver implements CachingDestinationResolver
A simple DestinationResolver implementation for Session-based destination resolution, caching Queue and Topic instances per queue/topic name. In that sense, the destinations themselves also need to be "simple": not Session-specific and therefore stable across an entire JMS setup.

This is the default resolver used by JmsClient and also JmsTemplate and listener containers, as of 7.0. For enforcing fresh resolution on every call, you may explicitly set a DynamicDestinationResolver instead.

Since:
7.0
Author:
Juergen Hoeller
See Also: