Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example we marshal the file content to String object in UTF-8 encoding.

Code Block
from("file://data.csv").marshal().string("UTF-8").to("jms://myqueue");

...