[
https://issues.apache.org/jira/browse/CAMEL-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631657#comment-13631657
]
Babak Vahdat commented on CAMEL-6282:
-------------------------------------
Just wonder if it would not be better to add the
{{typeConverterStatisticsEnabled}} field *only once* by the base class
{{AbstractCamelContextFactoryBean}} inside the {{camel-core-xml}} module
instead of duplicating the setter/getter code both inside the spring/blueprint
{{CamelContextFactoryBean}} classes. That's reuse thanks to inheritance.
> TypeConverterRegistry - Allow to enable or disable utilization statistics
> -------------------------------------------------------------------------
>
> Key: CAMEL-6282
> URL: https://issues.apache.org/jira/browse/CAMEL-6282
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.10.4
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.10.5, 2.11.1
>
>
> We should disable it by default. And then allow people to turn it on, such as
> during development if they need to see easily if they are having to many
> misses etc. As that indicate a potential optimization, to avoid the many
> misses.
> We should disable by default as under high load the stats may cause a little
> performance degrade.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira