I have two SQS queues say queueA and queueB. queueA has subscribed to mutliple SNS topics and keeps getting messages. queueB is the one to actually process these messages.
But my requirement is that this processing should happen everyday during a fixed period, say 9am to 6pm everyday.
There is no way to control/schedule processing inside queueB in other words, queueB processes the messages as soon as it recieves.
I want to have a gate/door sort of mechanism between queueA and queueB. This gate opens at 9am everyday, stays open till 6pm and closes exactly at 6pm. When the door is open, messages can flow from queueA to queueB including the messages that arrived in queueA during this period as well as messages arrived at 'closed time' and waiting for the gate to open.