hi,
currently I run my esb directly from my web app.
public class BusSetup : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore
store)
{
container.Register(Component.For<IMessageModule>().ImplementedBy<UnitOfWorkMessageModule>());
var host = new DefaultHost();
host.UseContainer(container);
host.BusConfiguration(c => c.Bus(url)
.Receive(name, url)
.Threads(2));
host.Start<InventoryBootStrapper>();
DomainEvents.EventContainer = new
ServiceBusEventResolver(container.Kernel);
}
}
which is nice, because i can easily share my container with the bus. How
would this look like if I made the suggested windows service from this?
--
Jan
--
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.