I created a utility class that provides getter for a throughput logger. this
is the method:
public LogEndpoint getTpLogger(final String name) {
LogEndpoint endpoint = context.getEndpoint("log:" + name,
LogEndpoint.class);
//endpoint.setGroupSize(0);
endpoint.setGroupInterval(new Long(interval));
endpoint.setGroupDelay(new Long(interval));
endpoint.setGroupActiveOnly(false);
return endpoint;
}
First i am not sure if i need to set groupsize if i set groupinterval, but
with both this logger logs every message. I see log output for correct name
but with this "normal" log output:
[ default-workqueue-2] throughput INFO
Exchange[ExchangePattern: InOnly, BodyType:
org.apache.cxf.message.MessageContentsList, Body:
[com.me.EventResponseType@5203419e]]
in my current test "interval" is 3000
--
View this message in context:
http://camel.465427.n5.nabble.com/Throughput-logger-logs-every-message-how-to-configure-properly-tp5753784.html
Sent from the Camel - Users mailing list archive at Nabble.com.