This is great. I only spiked at rhino-esb last Friday and our (current) scenario is fire-and-forget (aka one-way).
Will give it a spin shortly. On Oct 25, 10:24 pm, Ayende Rahien <[email protected]> wrote: > FYI, > I am going to shortly push an addition to RSB that provide one way bus: > > public interface IOnewayBus > { > void Send(params object[] msgs); > > } > > This can only send, and it is completely stateless. I need it for a single > scenario, and that is what it is doing. > There is no configuration support for that, I hope that someone will step up > for implementing it, for right now, I am using it like this: > > var oneWay = new OnewayBus(new[] > { > new MessageOwner > { > Endpoint = bus.Endpoint.Uri, > Name = "System", > }, > > }, new MessageBuilder(container.Resolve<IMessageSerializer>(), null)); > > oneWay.Send(...); > > The only logic it contains is knowing where to send the messages to based on > their owners. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
