CheckpointPersistenceProvider cp3 = null;
if (null != _cp3Props)
{
CheckpointPersistenceStaticConfigBuilder cp3ConfBuilder =
new CheckpointPersistenceStaticConfigBuilder();
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());
}