[
https://issues.apache.org/jira/browse/ARTEMIS-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495368#comment-17495368
]
Brad Harvey commented on ARTEMIS-3693:
--------------------------------------
Others may also like to disable duplicate detection entirely at the address
level.
See also https://issues.redhat.com/browse/ENTMQBR-4235
> Ignore duplicates instead of returning error
> --------------------------------------------
>
> Key: ARTEMIS-3693
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3693
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Brad Harvey
> Priority: Major
>
>
> {quote}As an artemis user
> I want the broker to ignore duplicate messages but still process unique
> messages that are received in the same transaction and successfully commit
> Instead of failing to commit the whole transaction and rejecting both the
> duplicates and unique messages
> So that I don't have to implement custom error handling to sort out the
> duplicates from uniques and retry the uniques
>
> {quote}
>
> {quote}As an artemis user
> I want the broker to ignore duplicate messages it receives when not transacted
> Instead of returning an error to the sender
> So that I don't have to implement custom error handling to skip over the
> duplicate message
>
> {quote}
>
> The current duplicate detection returns an error back to producers, which
> forces the producer to implement custom error handling to distinguish this
> error from others.
> [https://activemq.apache.org/components/artemis/documentation/latest/duplicate-detection.html]
> This is particularly problematic when multiple messages are sent in the same
> transaction - some may be duplicates while others are not, but they will all
> be rejected. Difficult for the sender to untangle which is which.
>
>
>
> *Proposed Solution*
> Add configuration at the address level to silently drop duplicates instead of
> rejecting them.
> Update documentation to describe the new option.
> https://activemq.apache.org/components/artemis/documentation/latest/duplicate-detection.html
--
This message was sent by Atlassian Jira
(v8.20.1#820001)