Just noticed an interesting behavior. If I publish 10 messages 1 worker grabs 4 (4 threads) another worker grabs 1 (?) then when they reply my publisher gets the 4 replies from the first worker, but the other workers reply is lost ... not to mention 5 messages are missing and I can't find them in any queues.
Also, if I then publish 10 more messages, 4 are picked up by the worker who grabbed 1 last time, and 1 is picked up by the worker who grabbed 4, then when they reply, only the worker whose reply was received the first time is received the second time too. Bringing the count to 5 total replies, and now 10 lost messages (never handled and can't be found in any queues). Thoughts? -- Adam On Fri, Jan 14, 2011 at 11:30 AM, Adam Miller <miller.ada...@gmail.com>wrote: > 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 <miller.ada...@gmail.com>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 rhino-tools-dev@googlegroups.com. >> To unsubscribe from this group, send email to >> rhino-tools-dev+unsubscr...@googlegroups.com<rhino-tools-dev%2bunsubscr...@googlegroups.com> >> . >> 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 rhino-tools-dev@googlegroups.com. To unsubscribe from this group, send email to rhino-tools-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.