}
URL configFile = getConfigFileURL(message);
if (ReplayCacheFactory.isEhCacheInstalled()) {
Bus bus = message.getExchange().getBus();
replayCache = new CXFEHCacheReplayCache(cacheKey, bus, configFile);
} else {
ReplayCacheFactory replayCacheFactory = ReplayCacheFactory.newInstance();
replayCache = replayCacheFactory.newReplayCache(cacheKey, configFile);
}