on 2019 Mar 13 9:19 AM - last edited on 2024 Feb 04 6:13 AM by postmig_api_4
Hi All,
We have a requirement in which we have to trigger two pollers separately after every two hours.
Example:
Suppose the current time is 10:00 AM
Poller1: cron expression has 2 hours time interval
Poller1 will be triggered at 10:00 AM
Poller2: cron expression has 2 hours time interval
Poller2 will be triggered at 12:00 PM
Poller1 will be triggered at 2:00 PM
Poller2 will be triggered at 4:00 PM
and so on
How to configure two pollers in the same spring.xml file?
Thanks,
P Sandhya.
Request clarification before answering.
<int:poller fixed-rate="1000" />
You need to have different incoming folder location
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.