11.16. 发送批处理消息和消息重复数据删除策略
如果您使用 SendBatchMessage Operation,您可以设置两种不同类型的 Message Deduplication Strategy: - useExchangeId - useContentBasedDeduplication
第一个将使用 ExchangeIdMessageDeduplicationIdStrategy,它将使用 Exchange ID 作为参数。另一个将使用 NullMessageDeduplicationIdStrategy,它将使用正文作为 deduplication 元素。
如果是发送批处理消息操作,您需要使用 useContentBasedDeduplication 和 on Queue,您需要 启用基于内容的 deduplication 选项。