You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2007/12/26 03:57:27 UTC

[jira] Issue Comment Edited: (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:comment-tabpanel#action_40921 ] 

ffang edited comment on CAMEL-275 at 12/25/07 6:56 PM:
--------------------------------------------------------------

files affected

M      src/test/java/org/apache/camel/component/cxf/transport/CamelDestinationTest.java
M      src/test/java/org/apache/camel/component/cxf/transport/CamelTestSupport.java
M      src/main/java/org/apache/camel/component/cxf/transport/CamelTransportFactory.java
A      src/main/resources/META-INF/cxf
A      src/main/resources/META-INF/cxf/cxf-extension-camel.xml
A      src/main/resources/META-INF/cxf/cxf.extension
M      src/main/resources/bus-extensions.xml




      was (Author: ffang):
    files affected

M      src/test/java/org/apache/camel/component/cxf/transport/CamelDestinationTest.java
M      src/test/java/org/apache/camel/component/cxf/transport/CamelTestSupport.java
M      src/main/java/org/apache/camel/component/cxf/transport/CamelTransportFactory.java
M      src/main/java/org/apache/camel/component/cxf/CxfConsumer.java
A      src/main/resources/META-INF/cxf
A      src/main/resources/META-INF/cxf/cxf-extension-camel.xml
A      src/main/resources/META-INF/cxf/cxf.extension
M      src/main/resources/bus-extensions.xml



  
> 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.


Re: [jira] Issue Comment Edited: (CAMEL-275) cxf camel transport should support to register itself to the cxf bus automatically

Posted by Freeman Fang <fr...@gmail.com>.
Can someone kindly review and apply this patch for me?

Thanks very much

Freeman


On 12/26/07, Freeman Fang (JIRA) <ji...@apache.org> wrote:
>
>
>    [
> https://issues.apache.org/activemq/browse/CAMEL-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40921]
>
> ffang edited comment on CAMEL-275 at 12/25/07 6:56 PM:
> --------------------------------------------------------------
>
> files affected
>
>
> M      src/test/java/org/apache/camel/component/cxf/transport/CamelDestinationTest.java
>
> M      src/test/java/org/apache/camel/component/cxf/transport/CamelTestSupport.java
>
> M      src/main/java/org/apache/camel/component/cxf/transport/CamelTransportFactory.java
> A      src/main/resources/META-INF/cxf
> A      src/main/resources/META-INF/cxf/cxf-extension-camel.xml
> A      src/main/resources/META-INF/cxf/cxf.extension
> M      src/main/resources/bus-extensions.xml
>
>
>
>
>      was (Author: ffang):
>    files affected
>
>
> M      src/test/java/org/apache/camel/component/cxf/transport/CamelDestinationTest.java
>
> M      src/test/java/org/apache/camel/component/cxf/transport/CamelTestSupport.java
>
> M      src/main/java/org/apache/camel/component/cxf/transport/CamelTransportFactory.java
> M      src/main/java/org/apache/camel/component/cxf/CxfConsumer.java
> A      src/main/resources/META-INF/cxf
> A      src/main/resources/META-INF/cxf/cxf-extension-camel.xml
> A      src/main/resources/META-INF/cxf/cxf.extension
> M      src/main/resources/bus-extensions.xml
>
>
>
>
> > 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.
>
>