i try this:
(http://camel.apache.org/cronscheduledroutepolicy.html)

  <bean id="startPolicy"
class="org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy">
        <property name="routeStartTime" value="0 46 17 * * ?"/>
        <property name="routeStopTime" value="0 0 23 * * ?"/>
    </bean>

   <route id="outgoingPaymentLog" routePolicyRef="startPolicy">
            <from uri="jms:outgoingPaymentLog?transacted=true"/>
                  <to
uri="log:someLog?multiline=true&amp;showHeaders=true"/>
    </route>

but it doesn't work. Instead of wait, messages just printing in log.



--
View this message in context: 
http://camel.465427.n5.nabble.com/from-jms-and-quartz-tp5498266p5498329.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to