camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Resolved: (CAMEL-1450) Add custom endpoints to camel jmx mbean server
Date Wed, 01 Apr 2009 16:35:34 GMT


Claus Ibsen resolved CAMEL-1450.

    Resolution: Fixed

Thanks Stephen. I have committed the patch

trunk: 760956.

> Add custom endpoints to camel jmx mbean server
> ----------------------------------------------
>                 Key: CAMEL-1450
>                 URL:
>             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.

View raw message