camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcneil <>
Subject bug in DefaultStreamCachingStrategy
Date Mon, 04 Nov 2013 12:31:51 GMT
G'day all,

Just cam across a problem when getting CMIS content via cmis: endpoint. When
I try to get pdf files I get a file not found error from file io.

I tracked it down to Create temp file having a directory of
/tmpcamel-blahblah . The parent directory is set in the
StreamCachingStrategy set on the exchange. Which is set in

In short it seems to come down to this line in DefaultStreamCachingStrategy 

private transient String spoolDirectoryName =

Which is not a great way of concatenating a file path, especially if returns /tmp. So I'm thinkin' this is a bug and infact this
directory name should be derived from the line above ( private File
spoolDirectory ) which creates a File and could perhaps proved a valid

Or am I missing something?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message