Last active
December 24, 2015 03:09
-
-
Save christian-posta/6735957 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context.getRouteDefinitions().get(0).adviceWith(context, new AdviceWithRouteBuilder() { | |
@Override | |
public void configure() throws Exception { | |
// mock sending to direct:foo and direct:bar and skip send to it | |
mockEndpointsAndSkip("direct:foo", "direct:bar"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment