tag:blogger.com,1999:blog-6232813386336615723.post4209923827962928150..comments2023-09-27T14:44:11.389+02:00Comments on Charles Moulliard (@cmoulliard): Measure elapsed time with Camelcmoulliardhttp://www.blogger.com/profile/06574597725926921707noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6232813386336615723.post-80670112717606315052013-01-15T19:00:54.231+01:002013-01-15T19:00:54.231+01:00Hi Antonin,
Can you open a JIRA ticket on camel w...Hi Antonin,<br /><br />Can you open a JIRA ticket on camel web site (https://issues.apache.org/jira/browse/CAMEL) to allow us to solve this issue and provide it for next release of Camel ?<br /><br />Regards,<br /><br />Charlescmoulliardhttps://www.blogger.com/profile/06574597725926921707noreply@blogger.comtag:blogger.com,1999:blog-6232813386336615723.post-80760248162637902612012-08-27T09:22:14.829+02:002012-08-27T09:22:14.829+02:00This is really strange. Can you post your case to ...This is really strange. Can you post your case to user mailing list of camel to allow us to take care of it (and if there is a bug to improve Camel) ?<br /><br />Regards,<br /><br />CharlesAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6232813386336615723.post-19490267512379420412012-08-10T17:26:09.678+02:002012-08-10T17:26:09.678+02:00PS: I had to manually start() the custom EventNoti...PS: I had to manually start() the custom EventNotifier, else it would just sit there and wait (and its log methods never called), although everything was configured correctly...Gregorhttps://www.blogger.com/profile/12104713259490978335noreply@blogger.comtag:blogger.com,1999:blog-6232813386336615723.post-54275839932943580282012-08-10T13:11:26.364+02:002012-08-10T13:11:26.364+02:00great post, just what I was looking for.
Now if th...great post, just what I was looking for.<br />Now if there only was an easy way to include a simple stopwatch I could use directly in my route DSL, like this:<br /><br />(MyRouteBuilder.java)<br />DateTime time;<br />from("direct:foo")<br />.routeIde("foo")<br />.stopWatch("fooTimer").start(time)<br />.process(...)<br />.stopWatch("fooTimer").stop()<br />.log("took " + time.getTime() + "s")<br />.end();Gregorhttps://www.blogger.com/profile/12104713259490978335noreply@blogger.comtag:blogger.com,1999:blog-6232813386336615723.post-40441902711791600752012-08-10T11:49:59.485+02:002012-08-10T11:49:59.485+02:00great article, just what I was looking for.
Couldn...great article, just what I was looking for.<br />Couldn't this be made even more easy for the quick stopwatch-usecase to include something like this in the routebuilder DSL:<br /><br />...<br />.stopWatchStart()<br />.process(...)<br />.stopWatchEnd()<br />...<br />that outputs a simple timing information to the log?Gregorhttps://www.blogger.com/profile/12104713259490978335noreply@blogger.com