Jul 9th, 2010, 09:11 AM
Accept requests at scheduled times
I am nube to Spring Integration so, please bear with me. My need is to accept incoming messages during a particular time frame (ex: M-F 6AM - 6PM) and rest of the times messages be directed to a pending transactions channel. This requirement is to cope up with the nightly cycle and not to error out requests received during this time (they be processed asynchronously). My first thought was to use a job scheduler like Quartz but, I am not sure how appropriate that is - as I am not initiating any jobs to be fired, but be responsive to the requests.
Appreciate your help.
Tags for this Thread