Interface CachingDestinationResolver
- All Superinterfaces:
DestinationResolver
- All Known Implementing Classes:
JndiDestinationResolver, SimpleDestinationResolver
Extension of the DestinationResolver interface,
exposing methods for clearing the cache.
- Since:
- 2.0
- Author:
- Juergen Hoeller
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear the entire destination cache.voidremoveFromCache(String destinationName) Remove the destination with the given name from the cache (if cached by this resolver in the first place).Methods inherited from interface DestinationResolver
resolveDestinationName
-
Method Details
-
removeFromCache
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
-
clearCache
void clearCache()Clear the entire destination cache.To be called in case of general JMS provider failure.
-