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.