Class ManagedSuspendableRoute

  • All Implemented Interfaces:
    org.apache.camel.api.management.mbean.ManagedCounterMBean, org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean, org.apache.camel.api.management.mbean.ManagedRouteMBean, org.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean, PerformanceCounter, org.apache.camel.TimerListener

    @ManagedResource(description="Managed Suspendable Route")
    public class ManagedSuspendableRoute
    extends ManagedRoute
    implements org.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
    • Constructor Detail

      • ManagedSuspendableRoute

        public ManagedSuspendableRoute​(org.apache.camel.CamelContext context,
                                       org.apache.camel.Route route)
    • Method Detail

      • suspend

        public void suspend()
                     throws Exception
        Specified by:
        suspend in interface org.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
        Throws:
        Exception
      • suspend

        public void suspend​(long timeout)
                     throws Exception
        Specified by:
        suspend in interface org.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
        Throws:
        Exception
      • resume

        public void resume()
                    throws Exception
        Specified by:
        resume in interface org.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
        Throws:
        Exception