camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kapoor <borncoolr...@gmail.com>
Subject Re: error while using direct:order
Date Mon, 20 Feb 2012 20:21:22 GMT
yes,
 its in my camel.xml.

camel.xml
----------

<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://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="tcp://localhost:61616" />
      </bean>
    </property>
  </bean> 

    <camelContext id="camel" trace="true"
xmlns="http://camel.apache.org/schema/spring">

        <dataFormats>
            <jaxb id="jaxb" contextPath="camelinaction"/>
        </dataFormats>

        <route>
            <from uri="direct:order"/>
            <marshal ref="jaxb"/>
            <to uri="jms:queue:test.queue"/>
        </route>

          </camelContext>

-------------------------------------

direct:order works only when the router is present? 

--
View this message in context: http://camel.465427.n5.nabble.com/error-while-using-direct-order-tp5498624p5500167.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message