camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r1167555 - /camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
Date Sat, 10 Sep 2011 16:23:46 GMT
Author: wtam
Date: Sat Sep 10 16:23:46 2011
New Revision: 1167555

URL: http://svn.apache.org/viewvc?rev=1167555&view=rev
Log:
[CAMEL-4436] CxfRsProducer clientFactoryBean's bus should be initialized

Modified:
    camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java

Modified: camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java?rev=1167555&r1=1167554&r2=1167555&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
(original)
+++ camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
Sat Sep 10 16:23:46 2011
@@ -194,6 +194,8 @@ public class CxfRsProducer extends Defau
         
         JAXRSClientFactoryBean cfb = clientFactoryBeanCache.get(CxfEndpointUtils
                                    .getEffectiveAddress(exchange, ((CxfRsEndpoint)getEndpoint()).getAddress()));
+
+        cfb.setBus(((CxfRsEndpoint)getEndpoint()).getBus());
         
         if (varValues == null) {
             target = cfb.create();



Mime
View raw message