Skip to content

Instantly share code, notes, and snippets.

@rajdavies
Created April 6, 2011 08:22
Show Gist options
  • Save rajdavies/905322 to your computer and use it in GitHub Desktop.
Save rajdavies/905322 to your computer and use it in GitHub Desktop.
public void configure() throws Exception {
RouteDefinition route = from(de2);
RouteDefinition route1 = from(de).to("mock:boo");
cep("test").win("30 s").evaluate("route1 And route2").to("mock:result");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment