Long groupInterval = getAndRemoveParameter(parameters, "groupInterval", Long.class);
CamelLogger camelLogger = new CamelLogger(remaining, level, marker);
Processor logger;
if (groupSize != null) {
logger = new ThroughputLogger(camelLogger, groupSize);
} else if (groupInterval != null) {
Boolean groupActiveOnly = getAndRemoveParameter(parameters, "groupActiveOnly", Boolean.class, Boolean.TRUE);
Long groupDelay = getAndRemoveParameter(parameters, "groupDelay", Long.class);
logger = new ThroughputLogger(camelLogger, this.getCamelContext(), groupInterval, 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) {