Hi I am trying to send the smooks transformed material to activemq but it is showing error. Please resolve this error and tell me. Below are my camel-context.xml. If i write file destination in place of activemq destination, the data is sent to that folder. But in case of activemq, it shows error.
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:broker="http://activemq.apache.org/schema/core" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"> <camelContext id="camelContext" xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="file://${input.dir}?fileName=Trade.csv"/> <log message="Before SmooksComponent ${body}"/> <to uri="smooks://smooks-config.xml"/> <log message="After SmooksComponent ${body}"/> <convertBodyTo type="java.lang.String"/> <to uri="activemq:queue:input"/> </route> </camelContext> <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="brokerURL" value="tcp://localhost:61616"/> </bean> </beans> -- View this message in context: http://camel.465427.n5.nabble.com/failed-to-go-activemq-tp5741651.html Sent from the Camel - Users mailing list archive at Nabble.com.