Wednesday, 2 March 2022

STOMP RabbitMQ redeliver message the subscriber if not acknowledged

The client uses STOMP version 1.2 over RabbitMQ version 3.9.3.
The client is used for a chat app as a subscriber for incoming messages.

a["CONNECTED\nserver:RabbitMQ/3.9.3\nsession:session-paGrRWWiEsYECaWdVdqkXQ\nheart-beat:4000,4000\nversion:1.2\nuser-name:6208370595c29c4357f9b81c\n\n\u0000"]

The ack header on subscription is client-individual.
The client is able to acknowledge a message without any exceptions from RabbitMQ.

The problem is, when the client doesn't acknowledge, the message isn't redelivered to the client.
I want to have the message redelivered to the subscriber if the subscriber didn't acknowledged the message.

Is it possible to create such a feature using STOMP and RabbitMQ built-in solutions, without doing any custom acknowledges?



from STOMP RabbitMQ redeliver message the subscriber if not acknowledged

No comments:

Post a Comment