camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VinothKR <>
Subject Camel Bean binding
Date Wed, 20 Apr 2016 23:03:05 GMT
I have a custom log formatter and want to call that through Camel.

LogFormat format = new LogFormat("identity", "component", "subcomponent");
FilterLogger logger  = new UniversalFilterLogger(format);
logger.debug("testHello", "testing"); //this debug method internally calls
log4j logger.debug but formats in a specific way.

Is there a way to incorporate this into my log component?

Or if there is any other approach through spring xml bean that also will
help. I should be able to pass identity, component and subcomponent
dynamically in my camel route.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message