Posted: Tue Apr 14, 2020 10:25 pm Post subject: Restrict the number of messages in certain time interval
Acolyte
Joined: 12 Mar 2019 Posts: 57
Hi,
We have a requirement to restrict the processing of messages in IIB at 100 messages per 5 minutes. We found a mqseries link http://www.mqseries.net/phpBB/viewtopic.php?p=318358&sid=fed43f49dae73ad2b243ea7be4a3f94f where they are suggesting to calcaluate the time between 1st and nth message and then sleep for the rest of the interval. But we do not prefer to do this in code level for individual flows. One more option we found was Workload Management Policy which allows to set number of messages to be processed per second by the flow. But there is no option to change time interval to make it work for our scenario. So is there any way we can achieve this by modifying any configuration instead of adding this logic in ESQL?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum