Hi,

This looks like https://issues.apache.org/jira/browse/CAMEL-7087 . It is 
supposed to be fixed in Camel 2.12.3 that should be released very soon.

Best regards
Stephan

-----Original Message-----
From: Zulio84 [mailto:[email protected]] 
Sent: Donnerstag, 16. Januar 2014 11:11
To: [email protected]
Subject: Re: StreamCaching and multiple context

Claus Ibsen-2 wrote
> Try a SNAPSHOT as we fixed something related to that.

Where can I find the configuration mvn to use the snapshot, there is' some
reference to the site http://camel.apache.org ?


Claus Ibsen-2 wrote
> You can also load the content into memory using
> .convertBodyTo(byte[].class) or String.class just prior, then there is
> no problem either.

So in the route: 

<camelContext xmlns="http://activemq.apache.org/camel/schema/spring";
streamCache="true">
  <route>
    <from uri="direct:start"/>
    <to uri="http4://remoteUrl"/>
    <convertBodyTo type="java.lang.byte[]"/>  <---- (3)
  </route> (2)
</camelContext>

If I add this body conversion (at [3]), Camel convert the body this from 
FileInputStreamCache to ByteArrayInputStreamCache? 








--
View this message in context: 
http://camel.465427.n5.nabble.com/StreamCaching-and-multiple-context-tp5745898p5746042.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to