Hi,

There is no id for the cxf:bus element. Any Spring cxf:bus automatically
overrides the default bus.

However you can also do the following

        <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
                <property name="inInterceptors">
                        <list>
                             <ref bean="receiveIPInterceptor"/> 
                             <ref bean="preStreamIPInterceptor"/> 
                             <ref bean="readIPInterceptor"/>
                        </list>
                </property>
        </bean>

Then you can add the new bus "cxf" to the camel endpoint as <camel:from
uri="cxf:bean:wsEndpoint?Bus=#cxf" />

Hope this helps.

Cheers,

Ashwin... 

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Extracting-request-IP-in-Camel-CXF-tp3308148p3318272.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to