Annotation Type ShutdownTimeout


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    @Target(TYPE)
    @Deprecated
    public @interface ShutdownTimeout
    Deprecated.
    Indicates to set the shutdown timeout of all CamelContexts instantiated through the use of Spring Test loaded application contexts. If no annotation is used, the timeout is automatically reduced to 10 seconds by the test framework. If the annotation is present the shutdown timeout is set based on the value of value().
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      TimeUnit timeUnit
      Deprecated.
      The time unit that value() is in.
      int value
      Deprecated.
      The shutdown timeout to set on the CamelContext(s).
    • Element Detail

      • value

        int value
        Deprecated.
        The shutdown timeout to set on the CamelContext(s). Defaults to 10 seconds.
        Default:
        10
      • timeUnit

        TimeUnit timeUnit
        Deprecated.
        The time unit that value() is in.
        Default:
        java.util.concurrent.TimeUnit.SECONDS