Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
With your hint, I have found the solution: httpClientConfigure
from("direct:start")
.to("rest:POST:users/
/basic?throwExceptionOnFailure=false&httpClientConfigurer=#customConfigurer")
.log(LoggingLevel.INFO, "Received body : ${body}")
.to("mock:result");
@BindToRegistry("customConfigurer")
private TestClientConfigurer testConfigurer;
private static class TestClientConfigurer implements HttpClientConfigurer {
@Override public void configureHttpClient(HttpClientBuilder
clientBuilder)
}
Attachments
Issue Links
- links to