[ https://issues.apache.org/jira/browse/CAMEL-9014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641560#comment-14641560 ]
Claus Ibsen edited comment on CAMEL-9014 at 7/25/15 11:55 AM: -------------------------------------------------------------- We could also add this for less dynamic such as - multicast And maybe for the polling side as well in - pollEnrich And then add camel commands for jolokia/karaf to show the usage also And add maybe operation on route and context level that is an aggregation of all those data (or in the endpoint registry mbean) we can gather all those stats from the eips, if extended is enabled). was (Author: davsclaus): We could also add this for less dynamic such as - multicast And maybe for the polling side as well in - pollEnrich And then add camel commands for jolokia/karaf to show the usage also And add maybe operation on route and context level that is an aggregation of all those data > Add statistics for usage of endpoints in EIPs > --------------------------------------------- > > Key: CAMEL-9014 > URL: https://issues.apache.org/jira/browse/CAMEL-9014 > Project: Camel > Issue Type: New Feature > Components: camel-core, jmx > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.16.0 > > > We can gather statistics for how often each endpoint is used in dynamic EIPs > such as recipient list, dynamic to, enricher, pollEnricher, dynamic router, > and so on. > However this requires to store counters, and that would require AtomicLong so > they are safe in concurrent environments, or use long with synchronized. > We can have an option on JMXAgent to turn this on|off so people can turn it > off if they dont need it. > However it may be nice to see which are the most used endpoint uris in all > those dynamic EIPs. > Today you can see it from the managed endpoint registry, but it does not keep > score which EIP its used by. -- This message was sent by Atlassian JIRA (v6.3.4#6332)