[
https://issues.apache.org/jira/browse/CAMEL-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631695#comment-13631695
]
Claus Ibsen commented on CAMEL-6282:
------------------------------------
Babak,
Yeah that may be possible. I did the code as the other options. Haven't looked
closer if there is stuff we could remove and rely on the abstract class.
Fell free to look into this. As it may be applicable for other options. The
trick is that the options should use the object types, eg java.lang.Boolean
instead of boolean etc. And do not have default values assigned. eg Boolean foo
= Boolean.TRUE. As that makes the JAXB unmarshaller include the default values,
and make the XML verbose and ugly. And therefore we defer the default value in
the code.
> 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