camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snehal_jagtap <snehal_jag...@omniscient.co.in>
Subject Camel quartz2 trigger.repeatInterval not working
Date Mon, 31 Aug 2015 09:43:35 GMT
Hello,
 I have been using 'quartz2' for polling and try to poll message after every
40 seconds.

however files are polled every second.
If i use 'quartz' it is working fine.

Please help me on this and sorry if i missed any etiquette!

Snippet -


<camel:endpoint id="statementInput"
uri="quartz2://abcgroup/xyzTimer?trigger.repeatInterval=40000&amp;trigger.repeatCount=1&amp;stateful=true&amp;job.name=pqrReader"
/> 

<camel:routeContext id="routeContext1">

	<camel:route>
			<camel:from ref="statementInput" />
			<camel:process ref="abcProcessor" />
                       <camel:to ref="extractor" />
	</camel:route>

</camel:routeContext>

<bean id="quartz2"
class="org.apache.camel.component.quartz2.QuartzComponent">
		<property name="startDelayedSeconds" value="30" />
</bean>







--
View this message in context: http://camel.465427.n5.nabble.com/Camel-quartz2-trigger-repeatInterval-not-working-tp5771095.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message