Skip to content

@hpirosha /applicationContext.xml
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
demoOne_camel_spring
<?xml version="1.0" encoding="UTF-8"?>
<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.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring-2.10.1.xsd">
<camelContext id="demoCamelContext" xmlns="http://camel.apache.org/schema/spring">
<route id="demoCBRRoute">
<from
uri="activemq:queue:NewOrders?brokerURL=tcp://192.168.64.144:61616" />
<choice>
<when>
<xpath>/order/product = 'gadget'</xpath>
<to uri="activemq:GadgetOrders?brokerURL=tcp://192.168.64.144:61616" />
</when>
<otherwise>
<to
uri="ftp://192.168.101.3/camel-demo?username=admin&amp;password=admin&amp;binary=true" />
</otherwise>
</choice>
</route>
</camelContext>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.