ConfigLoader<CheckpointPersistenceStaticConfig> configLoader =
new ConfigLoader<DatabusHttpClientImpl.CheckpointPersistenceStaticConfig>(
_propPrefix,
cp3ConfBuilder);
configLoader.loadConfig(_cp3Props);
CheckpointPersistenceStaticConfig cp3Conf = cp3ConfBuilder.build();
if (cp3Conf.getType() != CheckpointPersistenceStaticConfig.ProviderType.FILE_SYSTEM)
{
throw new RuntimeException("don't know what to do with cp3 type:" + cp3Conf.getType());
}
cp3 = new FileSystemCheckpointPersistenceProvider(cp3Conf.getFileSystem(), 2);
}
else if (null != _clientProps)
{
DatabusHttpClientImpl.Config clientConfBuilder =
new DatabusHttpClientImpl.Config();