You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we requeue a message it's not marked as redelivered by default. We can manually modify message object and mark it as redelivered in our processor before requeueing it.
Unfortunately this solution is not clear for people coming from other libraries. Personally I thought that it should mark messages as redelivered automatically, especially as we have DelayRedeliveredMessageExtension which can delay those messages.
Maybe requeued messages should be marked as redelivered automatically?
Without it we can't use properly requeue option, because how we can know that something was requeued?
We requeue message to process it later, but then we don't know if it has been requeued
/** * Use this constant when the message is not valid or could not be processed right now but we can try again later * The original message is removed from the queue but a copy is published to the queue again. */constREQUEUE = 'enqueue.requeue';
In message we have a specification of redelivered message, it's not passing it requirements at all. Maybe we should have another parameter then?
/** * Gets an indication of whether this message is being redelivered. * The message is considered as redelivered, * when it was sent by a broker to consumer but consumer does not ACK or REJECT it. * The broker brings the message back to the queue and mark it as redelivered. */publicfunction isRedelivered(): bool;
but the DelayRedeliveryExtension basing on redelivery parameter so I assume it's proper one.
The text was updated successfully, but these errors were encountered:
When we requeue a message it's not marked as redelivered by default. We can manually modify message object and mark it as redelivered in our processor before requeueing it.
Unfortunately this solution is not clear for people coming from other libraries. Personally I thought that it should mark messages as redelivered automatically, especially as we have
DelayRedeliveredMessageExtension
which can delay those messages.Maybe requeued messages should be marked as redelivered automatically?
Without it we can't use properly requeue option, because how we can know that something was requeued?
We requeue message to process it later, but then we don't know if it has been requeued
In message we have a specification of redelivered message, it's not passing it requirements at all. Maybe we should have another parameter then?
but the DelayRedeliveryExtension basing on redelivery parameter so I assume it's proper one.
The text was updated successfully, but these errors were encountered: