Apache Camel timer: “period” vs “fixedRate”

感情迁移 提交于 2019-12-21 17:41:14

问题


What is the exact use of "period" and "fixedRate" together ? does it really make sense because if i specified the "period" value then anyways timer will trigger after that interval. So what is the exact use of "fixedRate" flag?

I am confused please help me out !


回答1:


You can read the javadoc api of the java.util.Timer at: http://docs.oracle.com/javase/7/docs/api/java/util/Timer.html

They explain the difference between fixed rate and delayed.



来源:https://stackoverflow.com/questions/17786173/apache-camel-timer-period-vs-fixedrate

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!