Hi folks,
My apologies in advance if this is already in the docs but I have been reading them and I can't yet find the answer.
Question: are Filters able to peek at the messages present in an end-point without actually removing them from the channel?
E.g. say I have a QueueChannel and I want to use a filter to see if there is a message waiting; I want to apply some business logic to have the filter either remove the message from the queue and pass it along, or leave it in the queue for some other process to consume. Is this possible? From what I can tell from the docs, if a filter looks at a message, it has already removed it from the channel and then can either drop the message, throw an error, or redirect the message to some other channel. If I do the latter and place the message back in the FIFO queue, then the message has lost its' spot.
Thank you in advance for your time.


Reply With Quote
