SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from(directoryPath + "?recursive=true)
  2.     .routeId("Test")
  3.     .process(testProcessor)
  4.     .recipientList(simple("${header.nameOfMyDestination}")
  5.      
  6. camelContext.getRouteDefinition("Test")
  7.     .adviceWith(camelContext, new AdviceWithRouteBuilder() {
  8.      @Override
  9.         public void configure() throws Exception {
  10.             replaceFromWith("file://" + sourceDirectory + "?recursive=true");
  11.             weaveByToString("RecipientList*")
  12.                .recipientList(simple("mock" + "${header.nameOfMyDestination}"));
  13.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top