cxf camel transport should support to register itself to the cxf bus 
automatically
----------------------------------------------------------------------------------

                 Key: CAMEL-275
                 URL: https://issues.apache.org/activemq/browse/CAMEL-275
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-cxf
    Affects Versions: 1.2.0
            Reporter: Freeman Fang
             Fix For: 1.3.0


when cxf bus init, all tranports module on the classpath should register itself 
to the bus automatically.
cxf machenism for this is just add a spring bean to describe the transport id 
and transport factory class mapping per as below
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:foo="http://cxf.apache.org/configuration/foo";
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd";>

    <bean 
class="org.apache.camel.component.cxf.transport.CamelTransportFactory" 
lazy-init="true">
        <property name="bus" ref="cxf"/>
        <property name="transportIds">
            <list>
              <value>http://cxf.apache.org/transports/camel</value>
            </list>
        </property>
    </bean>
</beans>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to