[ 
https://issues.apache.org/jira/browse/CAMEL-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968655#action_12968655
 ] 

Claus Ibsen commented on CAMEL-3279:
------------------------------------

I have simplified this as you suggested. Now just use the @ManagedResource and 
Camel will automatic pickup and use it.

The {{ManagementAware}} SPI has been @deprecated.

It should really have been a SPI to force you to return a {{MBeanInfo}} which 
is was ment for. Then in very rare case you could be in control and return the 
MBeanInfo instance to be used. If there is a need for that we will introduce a 
new SPI for that.

However I assume most people hate the JMX API and would prefer to just sprinkle 
some annotations on their class as you can do with the Spring JMX annotations.

> Let custom Processor be managed in JMX when implementing ManagementAware
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-3279
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3279
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/manage-Camel-Processor-using-JMX-tp3235454p3235454.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to