You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/01/04 10:00:55 UTC
[jira] Resolved: (CAMEL-275) cxf camel transport should support to
register itself to the cxf bus automatically
[ https://issues.apache.org/activemq/browse/CAMEL-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved CAMEL-275.
-----------------------------------
Resolution: Fixed
Sending camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/CamelTransportFactory.java
Adding camel-cxf/src/main/resources/META-INF/cxf
Adding camel-cxf/src/main/resources/META-INF/cxf/cxf-extension-camel.xml
Adding camel-cxf/src/main/resources/META-INF/cxf/cxf.extension
Sending camel-cxf/src/main/resources/bus-extensions.xml
Sending camel-cxf/src/test/java/org/apache/camel/component/cxf/transport/CamelDestinationTest.java
Sending camel-cxf/src/test/java/org/apache/camel/component/cxf/transport/CamelTestSupport.java
Transmitting file data ......
Committed revision 608777.
> 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
>
> Attachments: patch.txt
>
>
> 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.