[
https://issues.apache.org/jira/browse/CAMEL-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102076#comment-13102076
]
William Tam commented on CAMEL-4436:
------------------------------------
r1167555 - 2.9.0.x
r1167556 - 2.8.2.x
> CxfRsProducer clientFactoryBean's bus should be initialized
> -----------------------------------------------------------
>
> Key: CAMEL-4436
> URL: https://issues.apache.org/jira/browse/CAMEL-4436
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.8.0
> Reporter: William Tam
> Assignee: William Tam
> Priority: Minor
> Fix For: 2.8.2, 2.9.0
>
>
> This defect only manifests itself if an application hosts more than one
> CamelContext. The first CamelContext contained by a Spring application
> context that does not have a custom bus (e.g. any http conduit
> configurations) while the second Spring application/Camel context does have a
> custom bus.
> The symptom is when the application sends an message to the cxfrs endpoint in
> the second context (that contains custom bus), the cxfrs endpoint picks up
> the wrong bus. It picks up the default cxf in the first application context.
> Furthermore, this defect only affects cxfrs producer using URI address
> format. E.g.
> <to uri="cxfrs://https://localhost:8181/CxfRsProducerTest/"/>
> It does not affect cxfrs addresses defined as a bean. E.g.
> <to uri="cxfrs://bean://rsClientHttps"/>
> <cxf:rsClient id="rsClientHttps"
> address="https://localhost:8181/CxfRsProducerTest/"/>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira