public interface CachingStrategy
Sessions and Connections| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesTo(javax.jms.ConnectionFactory target)
We only wrap connection factories that: - aren't instances of XAConnectionFactory - haven't already been wrapped - aren't
already a caching factory
|
Optional<CachingConfiguration> |
strategyConfiguration() |
boolean appliesTo(javax.jms.ConnectionFactory target)
target - the ConnectionFactory that will be wrapped using this CachingConfigurationtrue if the target factory can be wrapped in a caching connection factoryOptional<CachingConfiguration> strategyConfiguration()
CachingConfiguration required for executing this CachingStrategy if one is required.Copyright © 2021. All rights reserved.