* Advice with match multiple ids test
*/
public class AdviceWithTasksSelectTest extends ContextTestSupport {
public void testSelectFirst() throws Exception {
context.getRouteDefinitions().get(0).adviceWith(context, new AdviceWithRouteBuilder() {
@Override
public void configure() throws Exception {
// should only match the first
weaveById("gold*").selectFirst().replace().multicast().to("mock:a").to("mock:b");
}