I don't know what I've done wrong but rhino est keep complaining that
"There were no subscribers for...". I followed the Starbucks sample
but I guess what I didn't understand was how to initialize a bus. What
are the differences between RemoteAppDomainHost and DefaultHost? I
have the following start up code and everything else is standard
(similar to the sample). If required I will post the whole code. So
please can someone explain and help why I am experiencing this error?
I am reviewing rhino esb and hopefully I can use it in the up coming
project. Thanks!!!
PrepareQueues.Prepare("msmq://localhost/test.app",
QueueType.Standard);
PrepareQueues.Prepare("msmq://localhost/test.log",
QueueType.Standard);
//var log = new
RemoteAppDomainHost(typeof(LogBootStrapper))
// .Configuration("MyTestLog.config");
//log.Start();
var app = new RemoteAppDomainHost(typeof
(AppBootStrapper))
.Configuration("MyTestApp.config");
app.Start();
var logHost = new DefaultHost();
logHost.BusConfiguration(c =>
c.Bus("msmq://localhost/
test.app")
.Receive("MyTest.Message.Log",
"msmq://localhost/test.log"));
logHost.Start<LogBootStrapper>();
//var appHost = new DefaultHost();
//appHost.BusConfiguration(c =>
// c.Bus("msmq://localhost/
test.log")
// .Receive("MyTest.Message.App",
"msmq://localhost/test.app"));
//appHost.Start<AppBootStrapper>();
var logBus = logHost.Container.Resolve<IServiceBus>();
//var appBus = appHost.Container.Resolve<IServiceBus>();
logBus.Publish(new NewApp());
--
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.