Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6001

Camel Jetty Thread Pool disappears from the JMX view if other than default settings are used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.0, fuse-6.x-GA
    • jboss-fuse-6.2.1
    • Camel
    • None
    • % %
    • Hide

      Reproducer attached. Currently, reproducer is configured to set the minThreads and maxThreads values directly on the component. With these settings in place, when the bundle is deployed, the thread poll is not visible in jconsole or jvisualvm. If the min/max settings are commented and the bundle redeployed, the default threadpool is visible. The same occurs when configuring the thread pool as a separate bean and referencing in the component (commented out).

      Show
      Reproducer attached. Currently, reproducer is configured to set the minThreads and maxThreads values directly on the component. With these settings in place, when the bundle is deployed, the thread poll is not visible in jconsole or jvisualvm. If the min/max settings are commented and the bundle redeployed, the default threadpool is visible. The same occurs when configuring the thread pool as a separate bean and referencing in the component (commented out).

    Description

      If a jetty component is configured as a bean in camel-blueprint or spring with default thread pool settings, the thread pool is visible in the JMX tree under org.eclipse.jetty.util.thread/queuedthreadpool. If threadpool settings are added (either by creating a separate thread pool bean or by changing the available settings on the jetty component), the threadpool is no longer visible in the JMX tree.

      Dumping the server via the JMX dump operation reveals that the settings have taken effect, but the threadpool bean itself does not appear to be registered with the server.

      I have tried various approaches to force registration of the threadpool (commented out in attached blueprint example) with no success.

      Attachments

        Issue Links

          Activity

            People

              pantinor@redhat.com Paolo Antinori
              rhn-support-dhawkins Duane Hawkins
              Lukas Lowinger Lukas Lowinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: