camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <elak...@gmail.com>
Subject Re: Bus configuration not working for rsClient
Date Thu, 06 Aug 2015 12:40:56 GMT
how is your cxf bus named?
the following configuration should work for both spring and blueprint.

  <cxf:bus bus="sdp-rest-client">
....
  <cxf:rsClient ... bus="sdp-rest-client">
...

2015-08-04 4:26 GMT+02:00 Aniruddha <aniruddha.dixit@gmail.com>:
> HI Guys,
>
> we are using cxf rsClient to call a third party REST webservice. The bean is
> configured as follows:
>
> <cxf:rsClient id=&quot;rsActivation&quot;
>                 address=&lt;some url>
>                 bus="#sdp-rest-client">
>                 <cxf:headers>
>                         <entry key="Accept" value="application/xml" />
>                 </cxf:headers>
> </cxf:rsClient>
>
> and the bean is used in the route as:
>
> <inOut uri="cxfrs:bean:rsActivation" />
>
> What we noticed is that the bus configuration specified in the bean
> definition (bus="#sdp-rest-client") is ignored by the framework. But if we
> specify the bus config as a property of the rsClient bean then it works:
>
> <cxf:properties>
>    <entry key="bus" value-ref="sdp-rest-client" />
> </cxf:properties>
>
> Can you please let me know how to get the bus configuration working by
> specifying in the bean definition instead of property?
>
> Thanks,
> Ani
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Bus-configuration-not-working-for-rsClient-tp5770267.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message