Annotation Interface EnableRouteDump


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface EnableRouteDump
Whether to dump the routes loaded into Camel for each test (dumped into files in target/camel-route-dump).

The routes can either be dumped into XML or YAML format.

This allows tooling or manual inspection of the routes.

You can also turn on route dump globally via setting JVM system property CamelTestRouteDump=xml.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The format to dump as either xml or yaml.
  • Element Details

    • format

      String format
      The format to dump as either xml or yaml. You can use false to turn of route dump. Uses xml as default.
      Default:
      "xml"