I'm using scala akka-camel with http4 component (2.12.2 version). I'm
creating a Camel producer with endpoint:
*def endpointUri = "http4s://host-path" +
"?bridgeEndpoint=true" +
"&httpClientConfigurer=#configurer" +
"&clientConnectionManager=#manager"*
where configurer is an HttpClientConfigurer registered in Camel context
registry (the same principle applies to manager).
When I'm sending a CamelMessage to that endpoint I can see at akka logs
this:
*DEBUG o.a.c.component.http4.HttpComponent - Creating endpoint uri
http4s://host-path?bridgeEndpoint=true&httpClientConfigurer=#configurer&clientConnectionManager=#manager
DEBUG o.a.camel.util.IntrospectionSupport - Configured property:
clientConnectionManager on bean:
Endpoint["http4s://host-path?bridgeEndpoint=true&httpClientConfigurer=#configurer&clientConnectionManager=#manager"]
with value:
org.apache.http.impl.conn.PoolingClientConnectionManager@3da3d36f
DEBUG o.a.camel.util.IntrospectionSupport - Configured property:
bridgeEndpoint on bean:
Endpoint["http4s://host-path?bridgeEndpoint=true&httpClientConfigurer=#configurer&clientConnectionManager=#manager"]
with value: true
INFO o.a.c.component.http4.HttpComponent - Registering SSL scheme https on
port 443
INFO o.a.c.component.http4.HttpComponent - Registering SSL scheme https4 on
port 443*
So httpClientConfigurer is not configured and I don't know why it's ignoring
this parameter. I've been looking for any related issue at Apache Camel
issue tracker but I have found nothing similar.
Any idea? Thanks in advance.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Http4-2-12-2-httpClientConfigurer-property-cannot-be-inferred-from-endpointUri-tp5746932.html
Sent from the Camel - Users mailing list archive at Nabble.com.