Annotation Type EnableRouteCoverage


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    @Target(TYPE)
    @Deprecated
    public @interface EnableRouteCoverage
    Deprecated.
    Enables dumping route coverage statistic. The route coverage status is written as xml files in the target/camel-route-coverage directory after the test has finished.

    This allows tooling or manual inspection of the stats, so you can generate a route trace diagram of which EIPs have been in use and which have not. Similar concepts as a code coverage report.

    You can also turn on route coverage globally via setting JVM system property CamelTestRouteCoverage=true.