Struggling with concepts

38 views
Skip to first unread message

Magnus Toftdal Lund

unread,
Mar 27, 2012, 6:24:35 AM3/27/12
to rhino-t...@googlegroups.com
I'm a newbie when it comes to queuing concepts - so please bear with me:

As I understand it, Rhino ServiceBus needs a backend 'server' - some code that handles the msmq-queue and subscriptions to it.

When I send a message to the queue, the backend should process this message and send a new type of message to all listeners to the queue.


For my setup, I'll have two types of message - a messageType and a replyType. A [number of] webserver[s] will use a IOnewayBus - send messages of type messageType to the backend, which in turn consumes this message and notifies other clients with a message of type replyType.

Is my understanding correct - or can I somehow publish from the webservers, so I don't need the backend?

Jason Meckley

unread,
Mar 27, 2012, 8:00:50 AM3/27/12
to rhino-t...@googlegroups.com
the distribution of work is logical, not physical. You could deploy multiple instances, interacting with one another, on a single box. or you could have one instance handle all message types (although that wouldn't be very efficient).

Magnus Toftdal Lund

unread,
Mar 28, 2012, 10:22:08 AM3/28/12
to Rhino Tools Dev
Thank you, but I fail to understand, whether one of the instances must
'own' a given queue in order to have it processed (ie. it is listed in
the bus-section in app/web.config)?

Jason Meckley

unread,
Mar 28, 2012, 1:09:25 PM3/28/12
to rhino-t...@googlegroups.com
each instance would have it's own queue. you wouldn't share queues between instances. then for each instance you need to tell it where to send messages (associate the message with the endpoint).

Magnus Toftdal Lund

unread,
Mar 30, 2012, 7:47:29 AM3/30/12
to Rhino Tools Dev
Thanks - that cleared some issues up.
Reply all
Reply to author
Forward
0 new messages