Figured this out on my own (thankfully).
My new configs:
Publisher:
<castle>
<facilities>
<facility id="rhino.esb">
<bus threadCount="4"
numberOfRetries="5"
endpoint="msmq://localhost/publisher"
/>
<messages>
<add name="Messages"
endpoint="msmq://localhost/publisher.balancer"/>
</messages>
</facility>
<facility id="rhino.esb.loadbalancer" >
<loadBalancer threadCount="1"
endpoint="msmq://localhost/publisher.balancer" />
</facility>
</facilities>
</castle>
Workers:
<castle>
<facilities>
<facility id="rhino.esb">
<bus threadCount="4"
numberOfRetries="5"
loadBalancerEndpoint="msmq://publishersIpAddress/publisher.balancer"
endpoint="msmq://localhost/worker"
/>
<messages>
<add name="Messages"
endpoint="msmq://publishersIpAddress/publisher"/>
</messages>
</facility>
</facilities>
</castle>
Changed publisher to bus.Send(new message());
On Fri, Jan 14, 2011 at 10:27 AM, A. Miller <[email protected]> wrote:
> I have a Rhino ESB system setup but I am having a hard time getting the
> loadbalancer working. Here is what I have, and my configuration.
>
> Publisher:
> <castle>
> <facilities>
> <facility id="rhino.esb">
> <bus threadCount="4"
> numberOfRetries="5"
> endpoint="msmq://localhost/publisher"
> />
> <messages>
> <add name="Messages"
> endpoint="msmq://localhost/publisher.balancer"/>
> </messages>
> </facility>
> </facilities>
> </castle>
>
> Workers:
> <castle>
> <facilities>
> <facility id="rhino.esb">
> <bus threadCount="4"
> numberOfRetries="5"
>
> loadBalancerEndpoint="msmq://publishersIpAddress/publisher.balancer"
> endpoint="msmq://localhost/worker"
> />
> <messages>
> <add name="Messages"
> endpoint="msmq://publishersIpAddress/publisher"/>
> </messages>
> </facility>
> </facilities>
> </castle>
>
> LoadBalancer:
> <castle>
> <facilities>
> <facility id="rhino.esb.loadbalancer" >
> <loadBalancer threadCount="1"
> endpoint="msmq://localhost/publisher.balancer" />
> </facility>
> </facilities>
> </castle>
>
> My Loadbalancer is running on the same machine as my publisher. I have
> workers setup on 2 separate machines but when I publish a message from my
> publisher both of my workers are receiving the message. Do I have something
> configured wrong?
>
>
> --
> 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]<rhino-tools-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
--
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.