Nothing shows up in jconsole now. Is there an example that will explain this?
On Mon, Oct 25, 2010 at 11:31 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Try implementing ManagementAware and return this from the method. > > > > On Mon, Oct 25, 2010 at 5:05 PM, Mark Webb <elihusma...@gmail.com> wrote: >> Yes, I needed to implement Service. Now, how can I get methods >> specific to a processor to show up in JMX? I am using the JMX >> annotations (ManagedResource, ManagedOperation, ManagedAttribute) but >> nothing shows up in jconsole. >> >> >> >> On Mon, Oct 25, 2010 at 9:59 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: >>> I think you need to implement Service to have it managed. >>> >>> See this FAQ >>> http://camel.apache.org/why-is-my-processor-not-showing-up-in-jconsole.html >>> >>> On Mon, Oct 25, 2010 at 3:56 PM, Mark Webb <elihusma...@gmail.com> wrote: >>>> I have gone through the camel site, and the Camel In Action book >>>> trying to find the solution to this. I want to expose a custom >>>> processor that I wrote via JMX. The processor implements >>>> org.apache.camel.Processor. It appears that the Processor interface >>>> is not the right solution. I see that there is a >>>> org.apache.camel.management.mbean.ManagedProcessor class, but it >>>> requires a Processor to be passed into it, which confuses me a little. >>>> >>>> There must be another way to go about this and I hope someone here can >>>> help me. >>>> >>>> Thanks, >>>> Mark >>>> >>> >>> >>> >>> -- >>> Claus Ibsen >>> ----------------- >>> FuseSource >>> Email: cib...@fusesource.com >>> Web: http://fusesource.com >>> Twitter: davsclaus >>> Blog: http://davsclaus.blogspot.com/ >>> Author of Camel in Action: http://www.manning.com/ibsen/ >>> >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ >