[jira] Commented: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
[ https://issues.apache.org/activemq/browse/CAMEL-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50963#action_50963 ] Stephen Mullins commented on CAMEL-1450: W00t, thank you! Let me know if there's anything else I can help with :) > Add custom endpoints to camel jmx mbean server > -- > > Key: CAMEL-1450 > URL: https://issues.apache.org/activemq/browse/CAMEL-1450 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 1.6.0 >Reporter: Stephen Mullins >Assignee: Claus Ibsen >Priority: Minor > Fix For: 2.0.0 > > Attachments: CAMEL-1450.patch, CAMEL-1450.v2.patch > > Original Estimate: 1 day > Remaining Estimate: 1 day > > Currently, when adding endpoints to the mbean server, all endpoints are > wrapped with ManagedEndpoint. This does not allow for custom attributes or > operations to be exposed on the custom endpoints. I would like the > InstrumentationLifecycleStrategy.onEndpointAdd() method to first check if the > endpoint is annotated with ManagedResource, if it is then register that > endpoint; if the endpoint is not annotated with ManagedResource then wrap it > with ManagedEndpoint and register. This way all endpoints still get > registered but any custom attributes or operations will be exposed through > jmx. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
[ https://issues.apache.org/activemq/browse/CAMEL-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50961#action_50961 ] Claus Ibsen commented on CAMEL-1450: TODO: Update the CXF wiki page > Add custom endpoints to camel jmx mbean server > -- > > Key: CAMEL-1450 > URL: https://issues.apache.org/activemq/browse/CAMEL-1450 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 1.6.0 >Reporter: Stephen Mullins >Assignee: Claus Ibsen >Priority: Minor > Fix For: 2.0.0 > > Attachments: CAMEL-1450.patch, CAMEL-1450.v2.patch > > Original Estimate: 1 day > Remaining Estimate: 1 day > > Currently, when adding endpoints to the mbean server, all endpoints are > wrapped with ManagedEndpoint. This does not allow for custom attributes or > operations to be exposed on the custom endpoints. I would like the > InstrumentationLifecycleStrategy.onEndpointAdd() method to first check if the > endpoint is annotated with ManagedResource, if it is then register that > endpoint; if the endpoint is not annotated with ManagedResource then wrap it > with ManagedEndpoint and register. This way all endpoints still get > registered but any custom attributes or operations will be exposed through > jmx. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
[ https://issues.apache.org/activemq/browse/CAMEL-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50927#action_50927 ] Claus Ibsen commented on CAMEL-1450: Thanks for the update Stephen. No worry I just wanted to give a ping in case you wanted to help out with the last hurdle. As I am closing down issues to keep 2.0 within sight for a Q2 2009 release. > Add custom endpoints to camel jmx mbean server > -- > > Key: CAMEL-1450 > URL: https://issues.apache.org/activemq/browse/CAMEL-1450 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 1.6.0 >Reporter: Stephen Mullins >Assignee: Hadrian Zbarcea >Priority: Minor > Fix For: 2.0.0 > > Attachments: CAMEL-1450.patch > > Original Estimate: 1 day > Remaining Estimate: 1 day > > Currently, when adding endpoints to the mbean server, all endpoints are > wrapped with ManagedEndpoint. This does not allow for custom attributes or > operations to be exposed on the custom endpoints. I would like the > InstrumentationLifecycleStrategy.onEndpointAdd() method to first check if the > endpoint is annotated with ManagedResource, if it is then register that > endpoint; if the endpoint is not annotated with ManagedResource then wrap it > with ManagedEndpoint and register. This way all endpoints still get > registered but any custom attributes or operations will be exposed through > jmx. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
[ https://issues.apache.org/activemq/browse/CAMEL-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50926#action_50926 ] Stephen Mullins commented on CAMEL-1450: Hey sorry I haven't redone this patch yet. I'm going to knock it out today for sure. I have been busy working on a new router written in camel for Orbitz. I'll get to this today, sorry again for the delay. > Add custom endpoints to camel jmx mbean server > -- > > Key: CAMEL-1450 > URL: https://issues.apache.org/activemq/browse/CAMEL-1450 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 1.6.0 >Reporter: Stephen Mullins >Assignee: Hadrian Zbarcea >Priority: Minor > Fix For: 2.0.0 > > Attachments: CAMEL-1450.patch > > Original Estimate: 1 day > Remaining Estimate: 1 day > > Currently, when adding endpoints to the mbean server, all endpoints are > wrapped with ManagedEndpoint. This does not allow for custom attributes or > operations to be exposed on the custom endpoints. I would like the > InstrumentationLifecycleStrategy.onEndpointAdd() method to first check if the > endpoint is annotated with ManagedResource, if it is then register that > endpoint; if the endpoint is not annotated with ManagedResource then wrap it > with ManagedEndpoint and register. This way all endpoints still get > registered but any custom attributes or operations will be exposed through > jmx. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
[ https://issues.apache.org/activemq/browse/CAMEL-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50921#action_50921 ] Claus Ibsen commented on CAMEL-1450: Stephen, any update on this one? > Add custom endpoints to camel jmx mbean server > -- > > Key: CAMEL-1450 > URL: https://issues.apache.org/activemq/browse/CAMEL-1450 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 1.6.0 >Reporter: Stephen Mullins >Assignee: Hadrian Zbarcea >Priority: Minor > Fix For: 2.0.0 > > Attachments: CAMEL-1450.patch > > Original Estimate: 1 day > Remaining Estimate: 1 day > > Currently, when adding endpoints to the mbean server, all endpoints are > wrapped with ManagedEndpoint. This does not allow for custom attributes or > operations to be exposed on the custom endpoints. I would like the > InstrumentationLifecycleStrategy.onEndpointAdd() method to first check if the > endpoint is annotated with ManagedResource, if it is then register that > endpoint; if the endpoint is not annotated with ManagedResource then wrap it > with ManagedEndpoint and register. This way all endpoints still get > registered but any custom attributes or operations will be exposed through > jmx. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
[ https://issues.apache.org/activemq/browse/CAMEL-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50547#action_50547 ] Claus Ibsen commented on CAMEL-1450: Stephen, Hadrian We cannot have imports to Spring .jars in camel-core.jar. We need to use reflection or other techniques to avoid having the import import org.springframework.jmx.export.annotation.ManagedResource You can refer to it with its FQN name in the code: org.springframework.jmx.export.annotation.ManagedResource mr = ... You have to use: camelContext.getClassResolver to lookup the class at runtime. This allows us to run Camel where people dont have Spring jars. > Add custom endpoints to camel jmx mbean server > -- > > Key: CAMEL-1450 > URL: https://issues.apache.org/activemq/browse/CAMEL-1450 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 1.6.0 >Reporter: Stephen Mullins >Assignee: Hadrian Zbarcea >Priority: Minor > Fix For: 2.0.0 > > Attachments: CAMEL-1450.patch > > Original Estimate: 1 day > Remaining Estimate: 1 day > > Currently, when adding endpoints to the mbean server, all endpoints are > wrapped with ManagedEndpoint. This does not allow for custom attributes or > operations to be exposed on the custom endpoints. I would like the > InstrumentationLifecycleStrategy.onEndpointAdd() method to first check if the > endpoint is annotated with ManagedResource, if it is then register that > endpoint; if the endpoint is not annotated with ManagedResource then wrap it > with ManagedEndpoint and register. This way all endpoints still get > registered but any custom attributes or operations will be exposed through > jmx. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
[ https://issues.apache.org/activemq/browse/CAMEL-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50447#action_50447 ] Claus Ibsen commented on CAMEL-1450: Stephen is working on a patch See nabble: http://www.nabble.com/Adding-custom-mbeans-to-camel-JMX-mbeanserver-td22421517s22882.html > Add custom endpoints to camel jmx mbean server > -- > > Key: CAMEL-1450 > URL: https://issues.apache.org/activemq/browse/CAMEL-1450 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 1.6.0 >Reporter: Stephen Mullins >Priority: Minor > Original Estimate: 1 day > Remaining Estimate: 1 day > > Currently, when adding endpoints to the mbean server, all endpoints are > wrapped with ManagedEndpoint. This does not allow for custom attributes or > operations to be exposed on the custom endpoints. I would like the > InstrumentationLifecycleStrategy.onEndpointAdd() method to first check if the > endpoint is annotated with ManagedResource, if it is then register that > endpoint; if the endpoint is not annotated with ManagedResource then wrap it > with ManagedEndpoint and register. This way all endpoints still get > registered but any custom attributes or operations will be exposed through > jmx. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.