camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Fail to read file form FTP to local directory apply xsl and save it
Date Wed, 28 Sep 2011 07:26:22 GMT
On Wed, Sep 28, 2011 at 9:21 AM, kmute79 <matteo.simone@inera.it> wrote:
> I Claus,
> Thanks for the reply.
> I upgraded camel library to 2.8 version. I have no more error message, but
> this route download file from ftp to the file:///routeRepository/foldername
> folder but it does not apply the xsl trasfom. Should I try to create
> distinct route, one for download from ftp, one to apply the schema and save
> to routeRepository/foldername/temp/trasformed and so on?
>
> Thanks Matteo
>

That could be an idea. Before the xslt you may convert the message
body to a String to ensure the xslt can read the content.

<convertyBodyTo type="String"/>

If you still have problems, then post your route, and details what the
problem is.

>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Fail-to-read-file-form-FTP-to-local-directory-apply-xsl-and-save-it-tp4832751p4848195.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message