Hello,

I am using Netty producer to implement an HTTP client:

        Exchange response = testProducer.request(URL, new Processor() {
                        @Override
                        public void process(Exchange exchange) throws Exception 
{
                                exchange.getIn().setBody(body);
                        }
                });

My problem is that the response is not available as InputStream or byte[]:

        response.getOut().getBody(InputStream.class)
        response.getOut().getBody(byte[].class);

Both return null. Looks like it comes back as a CompositeByteBuf, but isn’t 
Camel supposed to convert this automatically?

Best regards,
Alex soto

Reply via email to