[
https://issues.apache.org/jira/browse/CAMEL-7229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917883#comment-13917883
]
Willem Jiang commented on CAMEL-7229:
-------------------------------------
Hi Sergey,
Thanks for you comments, I just remove the default bus creation in the
CxfRsEndpoint, so we don't need to setup the default bus to the
JAXRSClientFactoryBean or JAXRSServerFactoryBean any more.
In this way, the bus setting of JAXRSClientFactoryBean and
JAXRSServerFactoryBean won't be override if we don't set up customer bus on the
CxfRsEndpoint.
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.2#6252)