You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2016/09/08 06:15:21 UTC
[jira] [Created] (CAMEL-10297) Camel-Ftp: Splitting the body
doesn't parse the file content but the RemoteFile
Andrea Cosentino created CAMEL-10297:
----------------------------------------
Summary: Camel-Ftp: Splitting the body doesn't parse the file content but the RemoteFile
Key: CAMEL-10297
URL: https://issues.apache.org/jira/browse/CAMEL-10297
Project: Camel
Issue Type: Improvement
Reporter: Andrea Cosentino
Assignee: Claus Ibsen
Priority: Minor
{code}
from("{{ftp.server}}")
.log("Received file ${file:name} about to split")
.split(body().tokenize("\n"))
.log("${body})
.to("mock:result");
{code}
In this case you'll get an output like this
{code}
-rw-rw-r-- 1 oscerd oscerd 24 Sep 2 18:03 file_test.txt
{code}
While an end user expect the file content.
I assign the issue to Claus, since he worked on the fix, I've only added a test. Merging now
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)