[
https://issues.apache.org/jira/browse/CAMEL-7229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915401#comment-13915401
]
Willem Jiang commented on CAMEL-7229:
-------------------------------------
Hi Sergey,
In camel-cxf we prefer the rule that the URI option can override the spring or
blueprint configuration.
As the client bean's getBus can provides the default bus by default, we don't
need to do anything on the client bean if the cxfrs endpoint is not set with a
customer bus.
Regards,
Willem
> [cxfrs] Producer override bean bus
> ----------------------------------
>
> Key: CAMEL-7229
> URL: https://issues.apache.org/jira/browse/CAMEL-7229
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.12.1
> Reporter: Alexey Markevich
> Priority: Minor
>
> Bean configuration:
> org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cf_cCXFRS_1 = new
> org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean();
> cf_cCXFRS_1.setBus(customBus);
> Route:
> .to("cxfrs://bean://cCXFRS_1")
> But at
> org.apache.camel.component.cxf.jaxrs.CxfRsProducer.invokeHttpClient(Exchange)
> cfb.setBus(((CxfRsEndpoint)getEndpoint()).getBus());
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)