org.springframework.jms.support.destination

Interface CachingDestinationResolver

    • Method Detail

      • removeFromCache

        void removeFromCache(java.lang.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
      • clearCache

        void clearCache()
        Clear the entire destination cache.

        To be called in case of general JMS provider failure.