return true;
}
@Test
public void testSimpleMultipleAdvice() throws Exception {
context.getRouteDefinition("RouteA").adviceWith(context, new AdviceWithRouteBuilder() {
@Override
public void configure() throws Exception {
interceptSendToEndpoint("mock:resultA").process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception {
}
});
}
});
context.getRouteDefinition("RouteB").adviceWith(context, new AdviceWithRouteBuilder() {
@Override
public void configure() throws Exception {
}
});