DistributedCacheManager should fall back to the default client if the cache is unavailable.
DeliveryCacheOptions could be extended by one more property that would indicate that in case of failure of the underlying cache CacheManager would fall back to default DeliveryClient. Please note that this option should have an impact only on DistributedCacheManager implementation.
Also, consider logging as there should be a way to let customers know when their cache is unavailable.
Brief bug description
DistributedCacheManager can't handle failures of the underlying cache implementation.
Repro steps
Expected behavior
DistributedCacheManager should fall back to the default client if the cache is unavailable.
DeliveryCacheOptions
could be extended by one more property that would indicate that in case of failure of the underlying cache CacheManager would fall back to defaultDeliveryClient
. Please note that this option should have an impact only onDistributedCacheManager
implementation.Also, consider logging as there should be a way to let customers know when their cache is unavailable.