camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VinothKR <vinsmai...@gmail.com>
Subject Camel Bean binding
Date Wed, 20 Apr 2016 23:03:05 GMT
Hi,
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.

Thanks,
Vinoth.



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Bean-binding-tp5781444.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message