-node+s465427n5716226...@n5.nabble.com]
Sent: Wednesday, July 18, 2012 10:10 PM
To: Vishal Changrani
Subject: Re: Preventing reading of a large XML file in memory
Hi,
How did you process the old file?
Maybe you need some file cache to avoid loading the whole XML file into
the memory.
On 7/18/12 10
Hi,
How did you process the old file?
Maybe you need some file cache to avoid loading the whole XML file into
the memory.
On 7/18/12 10:52 PM, vishal1981 wrote:
Hi,
Sorry to bug you again...but..
Now I have my route configuration as File -> MyBean ->Ftp
Now MyBean converts the input file to a
ks for your help.
From: Claus Ibsen-2 [via Camel]
[mailto:ml-node+s465427n5716115...@n5.nabble.com]
Sent: Monday, July 16, 2012 2:54 PM
To: Vishal Changrani
Subject: Re: Preventing reading of a large XML file in memory
Sorry it was the ftp endpoint i meant
On Monda
Hi,
Sorry to bug you again...but..
Now I have my route configuration as File -> MyBean ->Ftp
Now MyBean converts the input file to a different format. I want to avoid
doing a exchange.getOut().setBody() since the new file is
huge. But somehow I want to convey to the FTP producer that FTP over the n
sweet..thanks a ton!
From: Claus Ibsen-2 [via Camel]
[mailto:ml-node+s465427n5716143...@n5.nabble.com]
Sent: Tuesday, July 17, 2012 1:10 AM
To: Vishal Changrani
Subject: Re: Preventing reading of a large XML file in memory
On Tue, Jul 17, 2012 at 6:47 AM
Claus Ibsen-2 [via Camel]
> [mailto:ml-node+s465427n5716140...@n5.nabble.com]
> Sent: Tuesday, July 17, 2012 12:43 AM
> To: Vishal Changrani
> Subject: Re: Preventing reading of a large XML file in memory
>
> On Tue, Jul 17, 2012 at 6:18 AM, vishal1981
> <[hidden email]&g
reading the whole file in memory?
From: Claus Ibsen-2 [via Camel]
[mailto:ml-node+s465427n5716140...@n5.nabble.com]
Sent: Tuesday, July 17, 2012 12:43 AM
To: Vishal Changrani
Subject: Re: Preventing reading of a large XML file in memory
On Tue, Jul 17, 2012 at 6
nputStream,
InputStream etc.
>
>
> From: Claus Ibsen-2 [via Camel]
> [mailto:ml-node+s465427n5716115...@n5.nabble.com]
> Sent: Monday, July 16, 2012 2:54 PM
> To: Vishal Changrani
> Subject: Re: Preventing reading of a large XML file in memory
>
&g
ean?
Is there something similiar for File component?
From: Claus Ibsen-2 [via Camel]
[mailto:ml-node+s465427n5716115...@n5.nabble.com]
Sent: Monday, July 16, 2012 2:54 PM
To: Vishal Changrani
Subject: Re: Preventing reading of a large XML file in memory
Sorry it
Sorry it was the ftp endpoint i meant
On Monday, July 16, 2012, vishal1981 wrote:
> Thanks for the reply.
> So is it compulsory to use a JMS Endpoint to prevent Camel from reading the
> whole message in memory?
> What is to my bean I dont pass the message body as a parameter but just
> then
> fil
Thanks for the reply.
So is it compulsory to use a JMS Endpoint to prevent Camel from reading the
whole message in memory?
What is to my bean I dont pass the message body as a parameter but just then
filename? Will that prevent Camel from loading the whole message in memory
before calling my bean m
Hi
Use the localWorkDirectory option on the JMS endpoint to stream
directly to a file when downloading the ftp file.
Then the message body is a GenericFile type (also a
org.apache.camel.WrappedFile from Camel 2.9 onwards) where you can
access the file using a stream etc.
So if you want to
from
12 matches
Mail list logo