camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From newbiee <m_ess...@hotmail.com>
Subject Re: CAMEL is throwing error
Date Tue, 22 Nov 2011 19:55:42 GMT
Hadrian:

I have sent my route. Here is the complete XML file 

<?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:camel="http://camel.apache.org/schema/spring"
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
       http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">
       
   <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
      <property name="connectionFactory">
        <bean class="org.apache.activemq.ActiveMQConnectionFactory">
          <property name="brokerURL" value=" ................" />
        </bean>
      </property>
  </bean>              

  <camelContext trace="true" xmlns="http://camel.apache.org/schema/spring">  
         
    <route>
      <from uri="netty:tcp://localhost:8000?sync=true" />
      <to uri="jms:fromServerToClient" />
    </route>

  </camelContext>

</beans>


And this is the only route that I am trying to execute. How can the same
route from the above code be executed twice!



--
View this message in context: http://camel.465427.n5.nabble.com/CAMEL-is-throwing-error-tp5014337p5014552.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message