* @version $Revision: 710133 $
*/
public class LogComponent extends DefaultComponent<Exchange> {
protected Endpoint<Exchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception {
LoggingLevel level = getLoggingLevel(parameters);
Integer groupSize = getAndRemoveParameter(parameters, "groupSize", Integer.class);
Logger logger;
if (groupSize != null) {
logger = new ThroughputLogger(remaining, level, ObjectConverter.toInteger(groupSize));