Annotation Interface ExcludeRoutes


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface ExcludeRoutes
Indicates if certain route builder classes should be excluded from discovery. Initializes a PackageScanClassResolver to exclude a set of given classes from being resolved. Typically this is used at test time to exclude certain routes, which might otherwise be noisy, from being discovered and initialized.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends org.apache.camel.RoutesBuilder>[]
    The classes to exclude from resolution when using package scanning.
  • Element Details

    • value

      Class<? extends org.apache.camel.RoutesBuilder>[] value
      The classes to exclude from resolution when using package scanning.
      Default:
      {}