camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10297) Camel-Ftp: Splitting the body doesn't parse the file content but the RemoteFile
Date Thu, 08 Sep 2016 06:42:20 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrea Cosentino updated CAMEL-10297:
-------------------------------------
    Fix Version/s: 2.18.0

> 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
>             Fix For: 2.18.0
>
>
> {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)

Mime
View raw message