I want to implement a queue. After the publisher publish a message in the queue, the queue will send a notification to the consumer. There is a single consumer.
Can the queue be configured as a synchronous queue?
What I want is - After getting the notification, consumer will consume one message from queue and perform some action on it. Then the consumer will send an acknowledgement to queue and after getting the acknowledgement, queue will remove the message.
I want to do this because, if the consumer failed at any time, the message should not get missed.