I have never used RSB or Rhino queues, and I've had a hard time to
find an example of how to configure and set up RSB 1.8 correctly for
what I want to do. I have an existing WCF service code base and as a
first step I want to add some events to this code and have subscribers
that do some things delayed from the normal flow.
I have a solution with multiple projects, and the published of the
events and the subscribers of the events is not in the same project,
and I would prefer them to run in the same process. The service is now
hosted in IIS (ASP.NET Development Server in development environment).
Sp project E has event messages defined.
Project X does a bus.Notify() with an event.
Project Y has a class that implements ConsumerOf<> for this event.
Project W is the web project referenceing both X and Y, and also the
project doing the configuration. This is what I do now (and this does
not cause any Consume methods in project Y to be called (aka does not
work)).
I have a ServerInstaller inheriting from AbstractBootStrapper, but the
class is empty.
I have a AppInitialize code that runs:
var host = new Rhino.ServiceBus.Hosting.DefaultHost();
host.Start<ServerInstaller>();
My web.config has the following:
<castle>
<facilities>
<facility id="rhino.esb" >
<bus threadCount="1"
numberOfRetries="5"
endpoint="rhino.queues://localhost:31312/Server"
name="IRMA_Server"
queueIsolationLevel="ReadCommitted"
transactional="true"
/>
<messages>
<add
name="E.Events"
endpoint="rhino.queues://localhost:31312/Server" />
</messages>
</facility>
</facilities>
</castle>
I get no errors when calling start and there have been folders created
(Server.esent and Server_subscriptions.esent).
Can anyone show me how to do the propper configuration or point me to
any documentation?
I have already checked
http://hibernatingrhinos.com/open-source/rhino-service-bus
including the links provided there.
I also tried to use RemoteAppDomainHost and a second configuration
file for the event consumers, inspired by
https://github.com/BjRo/LearningRhinoServiceBus/blob/master/Source/E8_Inprocess_deployment_of_multiple_endpoints_using_Rhino.Queues_as_transport
but I did not get that working. It failed fast, complaining about
assemblies not beeing available under the ASP.NET temporary directory.
Any help would be appreciated.
Thanks, Eric
--
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.