camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davedrinkbeer <>
Subject Hawtio trace causes InputStream body to dissapear
Date Tue, 20 Oct 2015 16:24:58 GMT
I am making a to() call with http4 component and the result is of type
I am using convertBodyTo(String.class) to convert the InputStream to String
so it can be read again.
I have also enabled stream caching so the stream can be read multiple times,
but when using "trace" option in hawtio console, I can only see the stream
once and then the body disappears.  Note, this works fine, when not using
trace in hawtio...seems like a bug.

Some code for reference...

//global stream cache set on camel context
Injector injector = Guice.createInjector(modules);
GuiceCamelContext context =


//I have even tried a bean to manually convert the InputStream to String,
but get same results, lose body
.bean(InputStreamConverter.class, "convertTo")

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

View raw message