Hi,

I would like to know what must be done in order to allow the camel-bindy
component becomes 'springable' and that we can use it through by ex the
following spring xml syntax :

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
       http://activemq.apache.org/camel/schema/spring
       http://activemq.apache.org/camel/schema/spring/camel-spring.xsd";>
       
    <bean id="bindyDataformat"
class="org.apache.camel.bindy.csv.BindyDataFormat">
                <constructor-arg type="java.lang.String"
value="org.apache.camel.bindy.model"/>
        </bean>

  <camelContext xmlns="http://activemq.apache.org/camel/schema/spring";>
    <package>com.xpectis.osgi.bindy</package>
    <route>
        <from uri="file://src/test/data/?noop=true" />
        <unmarshall id="bindyDataformat"/>
        <to uri="direct:start" />
    </route>
  </camelContext>

</beans>

-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: 
http://www.nabble.com/How-can-a-DataFormat-class-becomes-springable---tp21499221s22882p21499221.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to