2.12.3.3. 通过 @EnableRouteCoverage 注解启用
如果您使用 camel-test-spring
测试,可以在单元测试类中添加 @EnableRouteCoverage
注解来启用路由覆盖:
@RunWith(CamelSpringBootRunner.class) @SpringBootTest(classes = SampleCamelApplication.class) @EnableRouteCoverage public class FooApplicationTest {