I have configured a bus with numberOfRetries set to 5
I then have 2 handlers for my message
class EmailHandler : ConsumerOf<MyMessage> {
public void Consume(MyMessage m) {
SendEmail(to,from,subject,m.ToString());
}
}
class BadHandler : ConsumerOf<MyMessage> {
public void Consume(MyMessage m) {
throw new Exception("ha ha ha");
}
}
What happens is that I wind up getting 5 emails.
I think this is because the message does not get removed from the
queue until the retries are > 5?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---