Scott, that sounds very useful! Would you be willing to share your custom MessageModule code?
On Friday, March 23, 2012 7:27:32 AM UTC-7, Scott wrote: > > I solved a similar problem using RSB. We have allow users to make > payments from their checking accounts. To do so, we use RSB to call a > third-party service to process the payment. This third party has > scheduled outages once a month that can last up to 6 hours (why, I > don't know. Don't get me started). When the service is down, we > don't want to repeatedly make calls to it for the same payment. I > wrote a custom MessageModule which overrides the error handling/retry > action that comes with RSB. This message module reads the retry > intervals from a config file. We use a fibonacci sequence to retry > the messages at successively longer intervals and we have the sequence > set so that the total time a message will be retried is > the possible > 6 hour outage. This has worked perfectly for us. > > That would solve the first part of your issue. As for switching to a > different provider, you could add logic to the MessageModule that > would force a switch in providers after a certain number of retries. > > Good luck. > > > > On Mar 23, 3:10 am, Erik Juhlin <[email protected]> wrote: > > I'm new to service buses, but we have a problem that we think a > > service bus might solve. > > > > When communicating with an external service, we want to try X number > > of times before putting it in an error queue or perhaps doing > > something else (e.g. switch from credit card provider to invoice > > provider). > > > > But we don't want to do these calls directly after eachother. We want > > to wait a certain time to give the external provider a chance to wake > > up after a crash. > > > > It seems like the Rhino Service Bus can do the first part, but is > > there a way to wait between retries? Or is a service bus not suitable > > for this? -- www.agencyrevolution.com FREE REPORT: Digital Marketing Made Easy<http://www.agencyrevolution.com/free-stuff/whitepapers/newsid/6/white-paper-digital-marketing-made-easy> -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/FkrLVp8UtPoJ. 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.
