I created a ticket to track this
https://issues.apache.org/activemq/browse/CAMEL-3279


On Mon, Oct 25, 2010 at 5:52 PM, Claus Ibsen <[email protected]> wrote:
> Processor has not ment to support custom mbean attributes and attributes.
> It was more for EIPs (internally by Camel), components, endpoints etc.
>
> However it should be doable to do support this for processors as well.
>
> Can you create a ticket in JIRA
>
>
>
> On Mon, Oct 25, 2010 at 5:49 PM, Mark Webb <[email protected]> wrote:
>> 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 <[email protected]> wrote:
>>> Try implementing ManagementAware and return this from the method.
>>>
>>>
>>>
>>> On Mon, Oct 25, 2010 at 5:05 PM, Mark Webb <[email protected]> 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 <[email protected]> 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 <[email protected]> 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: [email protected]
>>>>> 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: [email protected]
>>> 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: [email protected]
> 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: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to