Class ManagedShutdownStrategy

java.lang.Object
org.apache.camel.management.mbean.ManagedService
org.apache.camel.management.mbean.ManagedShutdownStrategy
All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance, org.apache.camel.api.management.mbean.ManagedServiceMBean, org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean

@ManagedResource(description="Managed ShutdownStrategy") public class ManagedShutdownStrategy extends ManagedService implements org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
  • Constructor Details

    • ManagedShutdownStrategy

      public ManagedShutdownStrategy(org.apache.camel.CamelContext context, org.apache.camel.spi.ShutdownStrategy controller)
  • Method Details

    • getShutdownStrategy

      public org.apache.camel.spi.ShutdownStrategy getShutdownStrategy()
    • setTimeout

      public void setTimeout(long timeout)
      Specified by:
      setTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • getTimeout

      public long getTimeout()
      Specified by:
      getTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • setTimeUnit

      public void setTimeUnit(TimeUnit timeUnit)
      Specified by:
      setTimeUnit in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • getTimeUnit

      Specified by:
      getTimeUnit in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • setSuppressLoggingOnTimeout

      public void setSuppressLoggingOnTimeout(boolean suppressLoggingOnTimeout)
      Specified by:
      setSuppressLoggingOnTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • isSuppressLoggingOnTimeout

      public boolean isSuppressLoggingOnTimeout()
      Specified by:
      isSuppressLoggingOnTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • setShutdownNowOnTimeout

      public void setShutdownNowOnTimeout(boolean shutdownNowOnTimeout)
      Specified by:
      setShutdownNowOnTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • isShutdownNowOnTimeout

      public boolean isShutdownNowOnTimeout()
      Specified by:
      isShutdownNowOnTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • setShutdownRoutesInReverseOrder

      public void setShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder)
      Specified by:
      setShutdownRoutesInReverseOrder in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • isShutdownRoutesInReverseOrder

      Specified by:
      isShutdownRoutesInReverseOrder in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • setLogInflightExchangesOnTimeout

      public void setLogInflightExchangesOnTimeout(boolean logInflightExchangesOnTimeout)
      Specified by:
      setLogInflightExchangesOnTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • isLogInflightExchangesOnTimeout

      Specified by:
      isLogInflightExchangesOnTimeout in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • isForceShutdown

      public boolean isForceShutdown()
      Specified by:
      isForceShutdown in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • isTimeoutOccurred

      public boolean isTimeoutOccurred()
      Specified by:
      isTimeoutOccurred in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • getLoggingLevel

      Specified by:
      getLoggingLevel in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean
    • setLoggingLevel

      public void setLoggingLevel(String loggingLevel)
      Specified by:
      setLoggingLevel in interface org.apache.camel.api.management.mbean.ManagedShutdownStrategyMBean