Apache ActiveMQ 5.3 - How to configure a queue to reject duplicate messages?

后端 未结 1 1530
不知归路
不知归路 2021-01-11 16:45

I need the queue to enforce no-duplicate policy. Is it possible? If so , how? (I\'ve been googling for hours... )

Edit:

The ActiveMQSession implementation

相关标签:
1条回答
  • 2021-01-11 17:28

    ActiveMQ has duplicate message detection built in - how are you defining a duplicate ? If the duplicate has the same messageId - it should be discarded

    0 讨论(0)
提交回复
热议问题