Hi

Its the Java File API that returns the failure to Camel. We can only
delegate what it reports.



On Thu, Sep 20, 2012 at 1:16 PM, John Lee <jhn134...@gmail.com> wrote:
> Hello there,
> I have a file-system mounted on a Linux server with very little space
> available.
>
> After entering the command :
> 'cp Example_file_5MB.txt /fullFileSystem/Example_file_5MB.txt'
> cp: writing `/fullFileSystem/Example_file_5MB.txt': No space left on device
>
> However, when I do this with File2 Component and a Camel Route with error
> Handler, the content of GenericFileOperationFailedException is:
>
> GenericFileOperationFailedException has message:[Cannot store file:
> /fullFileSystem/LTE01ERBS00001/LTE01ERBS00001Collected.txt], localized
> message:[Cannot store file:
> /fullFileSystem/LTE01ERBS00001/LTE01ERBS00001Collected.txt], reason:[null],
> cause:[null] and code:[0]
>
> However, I was expecting the cause in GenericFileOperationFailedException
> to contain a FileNotFoundException with a message of:
> ".... /fullFileSystem/Example_file_5MB.txt': No space left on device"
>
> Am I misunderstanding something here?
> BRs //John.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to