Re: Camel Metrics Component v 2.23.0

2018-12-04 Thread Andrea Cosentino
: @oscerd2 Github: oscerd On Wednesday, December 5, 2018, 8:04:09 AM GMT+1, Larry Shields wrote: Hello, I've run into an issue with the Camel Metrics component in v2.23.0 which appears to be due to the change in the io.dropwizard.metrics metrics-core libraries from v3.x to 4.x. 

Camel Metrics Component v 2.23.0

2018-12-04 Thread Larry Shields
Hello, I've run into an issue with the Camel Metrics component in v2.23.0 which appears to be due to the change in the io.dropwizard.metrics metrics-core libraries from v3.x to 4.x. When enabling Jmx support for the MetricsRoutePolicyFactory, this causes an exception loading the JmxRep

Re: Camel-Metrics component -- is it safe to use in Production?

2015-10-14 Thread Joakim Bjørnstad
ttp://camel.apache.org/metrics-component.html, it > mentioned that > > MetricRegistry uses internal thread(s) for reporting. There is no public API > in version 3.0.1 for users to clean up on exit. Thus using Camel Metrics > Component leads to Java classloader leak and my cause OutOfMemoryErro

Camel-Metrics component -- is it safe to use in Production?

2015-10-13 Thread xlogger
In the documentation http://camel.apache.org/metrics-component.html, it mentioned that MetricRegistry uses internal thread(s) for reporting. There is no public API in version 3.0.1 for users to clean up on exit. Thus using Camel Metrics Component leads to Java classloader leak and my cause

Re: camel-metrics Component

2015-03-01 Thread Claus Ibsen
ate DefaultCamelContext and set > SimpleRegistry in the constructor within blueprint (or even spring) > > It would be great if you can suggest the way to do it. > > Thanks, > > Vivek > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/cam

Re: camel-metrics Component

2015-03-01 Thread vivekt
can I instantiate DefaultCamelContext and set SimpleRegistry in the constructor within blueprint (or even spring) It would be great if you can suggest the way to do it. Thanks, Vivek -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763357

Re: camel-metrics Component

2015-02-27 Thread Claus Ibsen
dumpStatisticsAsJson(), only timer metrics has values in json, and no > counters are listed. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763280.html > Sent from the Camel - Users mailing list arch

Re: camel-metrics Component

2015-02-27 Thread vivekt
json, and no counters are listed. -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763280.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-metrics Component

2015-02-27 Thread Claus Ibsen
hich I am using in the blueprint > context. > > Do I have to write my own MetricsRoutePolicy (or extend it) so that all the > counters are captured? > > Thanks, > > Vivek > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-me

Re: camel-metrics Component

2015-02-26 Thread vivekt
counters are captured? Thanks, Vivek -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763236.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-metrics Component

2015-02-26 Thread Claus Ibsen
lueprint.xml, I have declared the bean as > > class="org.apache.camel.component.metrics.routepolicy.MetricsRoutePolicyFactory"> > > > > > In Hawtio interface, I do see the Mbean service but it does not have any > counters in the ou

RE: camel-metrics Component

2015-02-25 Thread vivekt
I want to expose the counters so that I can access the metrics via Hawtio In blueprint.xml, I have declared the bean as In Hawtio interface, I do see the Mbean service but it does not have any counters in the output. Could you please let me know if the issue is fixed in 2.14.1? Is there something that I am missing? Thanks, Vivek -- View this message in context: http://camel.465427.n5.nabble.com/camel-metrics-Component-tp5758627p5763182.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: camel-metrics Component

2014-11-07 Thread James L Greene
ssage- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, November 07, 2014 10:29 AM To: users@camel.apache.org Subject: Re: camel-metrics Component This is an EXTERNAL email. STOP. THINK before you CLICK links or OPEN attachments.

Re: camel-metrics Component

2014-11-07 Thread Claus Ibsen
gt;> Email: jlgree...@aep.com >> >> >> -Original Message- >> From: Claus Ibsen [mailto:claus.ib...@gmail.com] >> Sent: Friday, November 07, 2014 9:26 AM >> To: users@camel.apache.org >> Subject: Re: camel-metrics Component >> >> This is an EXTERN

Re: camel-metrics Component

2014-11-07 Thread Claus Ibsen
ree...@aep.com > > > -Original Message- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Friday, November 07, 2014 9:26 AM > To: users@camel.apache.org > Subject: Re: camel-metrics Component > > This is an EXTERNAL email. STOP. THINK before you CLICK links or OPEN

RE: camel-metrics Component

2014-11-07 Thread James L Greene
  jlgree...@aep.com -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, November 07, 2014 9:26 AM To: users@camel.apache.org Subject: Re: camel-metrics Component This is an EXTERNAL email. STOP. THINK before you CLICK links o

Re: camel-metrics Component

2014-11-07 Thread Claus Ibsen
he output. The > camel-metrics component is displaying the value of the counters via the > logger, but the counters collection is empty when I try to access it > programmatically. > > Regards, > Jim Greene > Principal IT Architect, Enterprise Architecture & Strate

RE: camel-metrics Component

2014-11-07 Thread James L Greene
Claus, I gave your suggestion a try. There was no change in the output. The camel-metrics component is displaying the value of the counters via the logger, but the counters collection is empty when I try to access it programmatically. Regards, Jim Greene Principal IT Architect, Enterprise

Re: camel-metrics Component

2014-11-06 Thread Claus Ibsen
Try setting the route policy before adding the routes On Fri, Nov 7, 2014 at 1:35 AM, James L Greene wrote: > I have written a simple Java class to attempt to exercise the camel-metrics > component. In this example, I'm writing a standalone Java batch process, > which will read

camel-metrics Component

2014-11-06 Thread James L Greene
I have written a simple Java class to attempt to exercise the camel-metrics component. In this example, I'm writing a standalone Java batch process, which will read files from an input directory, and deposit the files in an output directory. I'm attempting to use the camel-metrics