camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: [jira] Created: (CAMEL-275) cxf camel transport should support to register itself to the cxf bus automatically
Date Tue, 25 Dec 2007 08:30:05 GMT
Hi,

Can any one kindly review and apply this patch for me?
Thanks very much

Freeman

Freeman Fang (JIRA) wrote:
> 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>
>
>
>
>   

Mime
View raw message