Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently you would have to subclass IdempotentConsumer and add custom logic in onDuplicateMessage.
End users may want to let some duplicates pass-through. So maybe we should have onDuplicateMessage return a boolean so we can determine what to do.
If it returns false (default) the message will be dropped. If it returns true the message is allowed and is continued to route.
We should then allow to set a custom predicate which can determine the onDuplicateMessage logic.