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