Hello,

I am having some problems migrating to Camel 2.20.2 from 2.17.4.    This has 
been working before, but now the response is null.
I have access to the server logs and everything there looks good, i.e., the 
server is sending a response, but client is unable to get it.
Here is the client code:

                SimpleRegistry registry = new SimpleRegistry();
                registry.put("sslParams", sslContextParams);

                DefaultCamelContext defaultCamelContext = new 
DefaultCamelContext(registry);
                defaultCamelContext.addComponent("netty4-http", new 
NettyHttpComponent());
                defaultCamelContext.setTracing(true);
                defaultCamelContext.setName("itest");
                defaultCamelContext.setStreamCaching(true);
                defaultCamelContext.start();

                ProducerTemplate producerTemplate = 
defaultCamelContext.createProducerTemplate();
                producerTemplate.start();

                final BytesAndDecParams requestMessage = makeEnrolCertRequest();

                byte[] response = producerTemplate.requestBody(
                                
"netty4-http:https://localhost:8895/service?sslContextParameters=#sslParams&ssl=true";,
                                requestMessage.message,
                                byte[].class);

                assertNotNull(response);


I appreciate any help with this problem.
Best regards,
Alex soto


Reply via email to