Yes I think its fixed in 2.12.1. If not just configure the directory yourself to include that / separator.
On Mon, Nov 4, 2013 at 1:31 PM, pmcneil <pe...@mcneils.net> wrote: > 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 > DefaultStreamCachingStrategy. > > In short it seems to come down to this line in DefaultStreamCachingStrategy > > private transient String spoolDirectoryName = > "${java.io.tmpdir}camel-tmp-#uuid#"; > > Which is not a great way of concatenating a file path, especially if > java.io.tmpdir 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 > path?? > > Or am I missing something? > > Cheers, > Peter. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/bug-in-DefaultStreamCachingStrategy-tp5742591.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen