camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7229) [cxfrs] Producer override bean bus
Date Thu, 27 Feb 2014 11:30:20 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914411#comment-13914411
] 

Sergey Beryozkin commented on CAMEL-7229:
-----------------------------------------

Hi Willem 

May be "If cxfrs endpoint is not using the default bus and if the client bean has either null
or the default bus" ?

This way if we have a case where someone set a custom, non-default bus on the client bean
then it will not be overridden, but if it is null or it is a default bus then we can safely
copy the custom cxfrs endpoint bus ?

Cheers, Sergey



> [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)

Mime
View raw message