Consider a competing consumer scenario where a consumer detects that it cannot successful process a command message (e.g. the DB is unreachable).
Is there a way for this consumer to give up on the message (i.e. return the message to the shared queue immediately) so that another competing consumer can pick it?
Using the retry policy does not work because it will retry on the same consumer.
Rescheduling the send of the message (using Quarz) seems a little overkill, since theoretically a NAck from the consumer to the queue should suffice.
Thanks
Pedro