On Fri, Dec 3, 2010 at 4:09 PM, ext2 <[email protected]> wrote: > Thanks a lot. > > It's a bad newly, I truly need jmx ,but doesn't want Instrument features; > But a good news is Claus advice to support dynamic configuration support for > Instrument in camel 3.0. >
You can set the level of gathering jmx performance details. See configuring granularity http://camel.apache.org/camel-jmx.html However the instrumentation may still be there because AFAIK you can change the granularity at runtime. But give it a try. > Best regard > > > -----Origin----- > Sender: Willem Jiang [mailto:[email protected]] > Date: 2010/12/3 20:20 > Receiver: [email protected] > Subject: Re: Could I configure to remove InstrumentStrategy of camel? > > If you are using the Spring to create the camel context, you can disable > it by setting the jmxAgent attribute to be false. > > If you create the camel context yourself, you can call the disableJMX() > method to do it. > > On 11/30/10 9:18 PM, ext2 wrote: >> >> Hi: >> Camel's InstrumentationStrategy will works by default. Does anyone >> knows how to configured to remove it? >> Because I wont to implement mine InstrumentationStrategy instead; >> >> Thanks any suggestion; >> >> >> >> > > -- > Willem > ---------------------------------- > FuseSource > Web: http://www.fusesource.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > > > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
