props.put(ContenthubFeeder.PROP_CONTENT_PROPERTIES, contentProperties != null ? contentProperties
: new ArrayList<String>());
feeder.setConfigs(props);
} else {
log.warn("Failed to obtain a suitable ContenthubFeeder instance for session: {}", session);
throw new ContenthubFeederException(String.format(
"Failed to obtain a suitable ContenthubFeeder instance for session: %s", session));
}
return feeder;
}