Skip to content

Instantly share code, notes, and snippets.

@stephen-masters
Created January 16, 2013 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephen-masters/4546103 to your computer and use it in GitHub Desktop.
Save stephen-masters/4546103 to your computer and use it in GitHub Desktop.
Code snippet for blog post about Apache Camel: http://scattercode.co.uk/2013/01/15/playing-around-with-apache-camel/
from("C:/router/export/csv/")
.unmarshal().csv()
.split().method("org.gratiartis.router.Splitter", "split")
.to("jms:DOCUMENT.METADATA.QUEUE");
from("jms:DOCUMENT.METADATA.QUEUE")
.processRef("org.gratiartis.router.Processor")
.to("C:/router/out/xml/");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment