Pause & Resume Solace Message consumption from a queue
we have requirement, when a particular job is running we need to stop listening to a queue to consume new messages after that job is completed we want to start consuming the messages from Queue.
Using Solace Spring Cloud Stream how we can pause and resume consuming of messages from a queue.
if we have some code snippet to implement this in java will be helpful.
Thank you in advance