Hi Team,

i hope you can help us.

We have a simple rest callout with POST Method and http as producer
component:

                restConfiguration()
                        .producerComponent("http")
                        .host("localhost")
                        .port((Integer) parameters.get("port"));

                from("direct:start")

.to("rest:GET:users/{id}/basic?throwExceptionOnFailure=false")
                        .log(LoggingLevel.INFO, "Received body : ${body}")
                        .to("mock:result");

Reply via email to