setProperties(endpoint, parameters);
CamelLogger camelLogger = new CamelLogger(remaining, level, endpoint.getMarker());
Processor logger;
if (endpoint.getGroupSize() != null) {
logger = new ThroughputLogger(camelLogger, endpoint.getGroupSize());
} else if (endpoint.getGroupInterval() != null) {
Boolean groupActiveOnly = endpoint.getGroupActiveOnly() != null ? endpoint.getGroupActiveOnly() : Boolean.TRUE;
Long groupDelay = endpoint.getGroupDelay();
logger = new ThroughputLogger(camelLogger, this.getCamelContext(), endpoint.getGroupInterval(), groupDelay, groupActiveOnly);
} else {
// first, try to use the user-specified formatter (or the one picked up from the Registry and transferred to
// the property by a previous endpoint initialisation); if null, try to pick it up from the Registry now
ExchangeFormatter localFormatter = exchangeFormatter;
if (localFormatter == null) {