I've got a system where a website publishes messages whenever a new
task is created, and a windows service grabs those messages from the
queue and handles them (re-encoding a video, a long-running high-CPU
process). I'd like to be able to scale this out by having more
machines run the service and subscribe to the queue from the website,
but I'm having trouble with setting them up to handle remote
subscriptions properly.
I'm using the RhinoServiceBusFacility to configure the workers. I put
the following into the config:
<castle>
<facilities>
<facility id="worker.esb" >
<bus threadCount="1"
numberOfRetries="5"
endpoint="msmq://FormatName:Direct=OS:WEBSERVERNAME/
testrhino"
queueIsolationLevel="ReadCommitted"
transactional="false"
/>
<messages>
<add name="RhinoESBTest.Core.Messages.VideoToEncode"
endpoint="msmq://FormatName:Direct=OS:WEBSERVERNAME/
testrhino"
/>
</messages>
</facility>
</facilities>
</castle>
With this I get an error from the RhinoServiceBusFacility-- "Attribute
'endpoint' on 'bus' has an invalid value." It's obvious that it
cannot parse the string as a valid URI. I've also tried the obvious
"msmq://WEBSERVERNAME/testrhino" but got an ugly MessageQueueException
with an error code of -2147023163-- not too helpful.
Has anyone set it up to connect to a remote private queue like this?
If so, can you help me with the syntax for defining the endpoint?
--
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.