Retry mechanism with delay
murillocg
Member Posts: 11 ✭
We are adapting our services to use Solace, and one of our applications uses a retry mechanism with delay from RabbitMQ in which an error message would be sent to a DLQ, which had a TTL configuration and, after the TTL expiration, it would be sent back to the initial queue. Beyond that, the message had a specific header parameter that specified the retry number (x-death). After some retries, we could give up end send an error message to the end user. This could be achieved with the following configuration:
[...] spring.cloud.stream.bindings.queueName.consumer.max-attempts=1 spring.cloud.stream.rabbit.bindings.queueName.consumer.auto-bind-dlq=true spring.cloud.stream.rabbit.bindings.queueName.consumer.dlq-ttl=1000 spring.cloud.stream.rabbit.bindings.queueName.consumer.dlq-dead-letter-exchange=
Is there a similar way to do this in Solace?
Tagged:
0
Answers
-
Hey @murillocg ! Would this community project serve what you're asking about?
0