Top Description Methods
org.springframework.jms.support.destination

public Interface CachingDestinationResolver

extends DestinationResolver
Known Direct Implementers
org.springframework.jms.support.destination.JndiDestinationResolver

Extension of the DestinationResolver interface, exposing methods for clearing the cache.
Author
Juergen Hoeller
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public void
clearCache()

Clear the entire destination cache.

public void
removeFromCache(String
the name of the destination
destinationName
)

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

Inherited from org.springframework.jms.support.destination.DestinationResolver:
resolveDestinationName

Method Detail

clearCacheback to summary
public void clearCache()

Clear the entire destination cache.

To be called in case of general JMS provider failure.

removeFromCacheback to summary
public 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:String

the name of the destination