Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1450

Add custom endpoints to camel jmx mbean server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 2.0-M2
    • camel-core
    • None

    Description

      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.

      Attachments

        1. CAMEL-1450.v2.patch
          8 kB
          Stephen Mullins
        2. CAMEL-1450.patch
          7 kB
          Stephen Mullins

        Activity

          People

            davsclaus Claus Ibsen
            smullins Stephen Mullins
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10h
                10h
                Remaining:
                Remaining Estimate - 10h
                10h
                Logged:
                Time Spent - Not Specified
                Not Specified