reactor / reactor-rabbitmq

Reactor RabbitMQ
Apache License 2.0
157 stars 55 forks source link

Add a way to alter the way cancellations are handled #184

Open abelmulq opened 7 months ago

abelmulq commented 7 months ago

Currently cancellation errors are handled by cancelling the whole consumer sometimes there is a need to recover from this errors without cancelling(or with restart) the whole consumer.

Motivation

Spring amqp handles queue deletions by re declaring the queue and restarting the consumer. Currently there is no way to handle manual queue deletions.

Desired solution

Add a way to handle cancellation by a callback.