Well i missed to give the camel-context.xml which loads this route builder.
Here it is

<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.xsd";>

        <camelContext autoStartup="false" id="bif-camel"
xmlns="http://camel.apache.org/schema/spring";>
                <routeBuilder ref="bifBuilder"/>
        </camelContext>
        <bean id="bifBuilder" class="com.routes.BIFRouteBuilder"/>
 </beans>


and we have CronScheduledRoutePolicy set in the route builder to start the
route at a specific time..



--
View this message in context: 
http://camel.465427.n5.nabble.com/Route-starts-when-deployed-with-a-cxf-endpoint-tp5729593p5729895.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to