i want to use last-value queue property together with mdbs. Is it possible?
When a message is sent to a queue, onMessage method of cosumers is triggered right away, making last-value queue property nonfunctional. So i want to know if there is any way to delay messages after they are sent to a queue and before they are consumed? That way i can use last-value queue property to use only the last message.
I thought there might be a way to accomplish this, since there is already a redelivery delay property, i assume messages are kept inside the same queue and send after that amount of time. (Maybe i am wrong on this, just guessing)