Annotation Interface ShutdownTimeout


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface ShutdownTimeout
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
    The time unit that value() is in.
    int
    The shutdown timeout to set on the CamelContext(s).
  • Element Details

    • value

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

      TimeUnit timeUnit
      The time unit that value() is in.
      Default:
      SECONDS