Skip to content

Instantly share code, notes, and snippets.

@karlp
Created June 15, 2010 17:35
Show Gist options
  • Save karlp/439410 to your computer and use it in GitHub Desktop.
Save karlp/439410 to your computer and use it in GitHub Desktop.
// Router config....
from("direct:pairing")
.setHeader(Exchange.FILE_NAME, BeanLanguage.bean(FilenameGenerator.class, "generatePairingFilename"))
.to("velocity:/conax/Pairing.vm")
.to(conaxDestinationURI);
// conaxDestinationURI = "ftp://conaxTest@localhost:2121/autreq/req?passiveMode=true&password=conaxTest&tempFileName=${file:name}.tmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment