You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Marcel Koopman <ma...@gmail.com> on 2014/05/14 08:40:26 UTC

StreamCache body

When stream caching is enabled, the body is wrapped into a StreamCache /
InputStreamCache.
How do I get the contents out of this cache? I'm using scala.
Also I noticed that the cache is in Memory, and also has length 0.

Kind regards,
Marcel Koopman

Re: StreamCache body

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Just read it as its an InputStream

On Wed, May 14, 2014 at 8:40 AM, Marcel Koopman
<ma...@gmail.com> wrote:
> When stream caching is enabled, the body is wrapped into a StreamCache /
> InputStreamCache.
> How do I get the contents out of this cache? I'm using scala.
> Also I noticed that the cache is in Memory, and also has length 0.
>
> Kind regards,
> Marcel Koopman



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/