Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.21.0
-
None
-
Unknown
Description
The CxfRsProducer doesn't configure a CxfRsEndpointConfigurer on the client while using the Proxy API. When using the HTTP API this is working fine.
So when i create an endpoint like this:
CxfRsEndpoint endpoint = new CxfRsEndpoint(); endpoint.setCxfRsEndpointConfigurer(new MyCxfRsEndpointConfigurer());
public static class MyCxfRsEndpointConfigurer implements CxfRsEndpointConfigurer { @Override public void configure(AbstractJAXRSFactoryBean factoryBean) { } @Override public void configureClient(Client client) { client.header("foo", "bar"); } @Override public void configureServer(Server server) { } }
In case i use the HTTP API the header "foo" is sent but not when i use the Proxy API.
Attachments
Issue Links
- is related to
-
CAMEL-12540 We should avoid the address setting of CxfRsEndpointConfigurer
- Resolved
- links to