public interface CachingDestinationResolver extends DestinationResolver
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear the entire destination cache.
|
void |
removeFromCache(String destinationName)
Remove the destination with the given name from the cache
(if cached by this resolver in the first place).
|
resolveDestinationName
void removeFromCache(String destinationName)
To be called if access to the specified destination failed, assuming that the JMS Destination object might have become invalid.
destinationName
- the name of the destinationvoid clearCache()
To be called in case of general JMS provider failure.