You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/25 10:42:04 UTC

[jira] [Created] (CAMEL-9014) Add statistics for usage of endpoints in EIPs

Claus Ibsen created CAMEL-9014:
----------------------------------

             Summary: 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
             Fix For: Future


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)