Skip to content

Instantly share code, notes, and snippets.

@squarepegsys
Created October 17, 2011 16:46
Show Gist options
  • Save squarepegsys/1293054 to your computer and use it in GitHub Desktop.
Save squarepegsys/1293054 to your computer and use it in GitHub Desktop.
how our Camel routes file starts
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:camel="http://camel.apache.org/schema/spring" 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.xsd">
<import resource="classpath*:/META-INF/spring/itb-master-route.xml"/>
<import resource="classpath*:/META-INF/spring/jms-inbound-beans.xml"/>
<import resource="classpath*:/META-INF/spring/itb-beans.xml"/>
<camel:routeContext id="jmsInboundRoutes">
<camel:route id="gateway" startupOrder="800">
<camel:from uri="direct:gatewayEndpoint"/>
<camel:log message="Received message from gateway" logName="CamelReport"
loggingLevel="INFO"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment