This content has been marked as final.
Show 3 replies
-
1. Re: Can't know if duplicate encountered?
timfox May 1, 2010 5:29 AM (in response to bill.burke)The way dup detection works in HornetQ is the server rejects messages it has seen before, this allows the client to simply resend messages in event of failure without having to worry about whether they have sent before. In effect, it makes sending idempotent.
So the client does not need to know.
-
2. Re: Can't know if duplicate encountered?
bill.burke May 3, 2010 10:01 AM (in response to timfox)Yes, I read how it works. I was just trying to think of any scenario where the client would need to know that a duplicate was received.
-
3. Re: Can't know if duplicate encountered?
clebert.suconic May 3, 2010 11:47 AM (in response to bill.burke)My understanding is: Currently there's no need for that. If a message is duplicated, with a pre-determined ID set by the user, the message will just be ignored.
You can of course request a feature for some sort of listener if you find a need.