public interface

CachingDestinationResolver

implements DestinationResolver
org.springframework.jms.support.destination.CachingDestinationResolver
Known Indirect Subclasses

Class Overview

Extension of the DestinationResolver interface, exposing methods for clearing the cache.

Summary

Public Methods
abstract void clearCache()
Clear the entire destination cache.
abstract void removeFromCache(String destinationName)
Remove the destination with the given name from the cache (if cached by this resolver in the first place).
[Expand]
Inherited Methods
From interface org.springframework.jms.support.destination.DestinationResolver

Public Methods

public abstract void clearCache ()

Clear the entire destination cache.

To be called in case of general JMS provider failure.

public abstract void removeFromCache (String destinationName)

Remove the destination with the given name from the cache (if cached by this resolver in the first place).

To be called if access to the specified destination failed, assuming that the JMS Destination object might have become invalid.

Parameters
destinationName the name of the destination