Camel component on route

One Star

Camel component on route

Hi,
I'm new user of route and camel component.
I want to create POC to test log with timer to know execution time since start of the route in the different log message ...
I think I need to use camel metrics ?
So I have create this route :


In cMessagingEndpoint_1 i have set URI "metrics:timer:mytimer?action=start"
In cMessagingEndpoint_2 i have set URI "metrics:timer:mytimer?action=stop"
But in cLog_2 I don't know how to log the timer value in the specify output log message... ????
Thnaks for your help.
Moderator

Re: Camel component on route

Hi,
We have redirected your issue to talend ESB experts and then come back to you as soon as we can.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Camel component on route

Hello, 
I posted two pictures, I don't know if it is what you wanted. 
 
Thanks,
Billy