All the docs for RSB are in my blog. 1) A service bus instance is associated with an endpoint, and an endpoint is a queue. That is quite intentional, since an endpoint has meaning (order service endpoint, for example). However, you may have several nodes running that are listening to the same queue, either directly, using shared queues, or indirectly, using the load balancer. 2) Publish will send the message to all subscribers, both local and remotes. It will fail if there are no subscribers. Notify will not fail if there are no subscribers. 3) Storing them in a local queue means that we have one less item to deal with when we are talking about setting up the system. We don't need a DB, we don't need configuration. The data in the queue is persistent, so it will survive the bus restarting. Since communication with the subscribers is done using queues, a subscriber going down doesn't affect us at all. The queue infrastructure will take care of sending that message. 4) Yes, we will still get the response. Subscriptions are persistent, so even if you restarted, you are safe. Note that if you need to keep state for that, you can use a Saga for orchestrating the process.
On Fri, Feb 20, 2009 at 4:17 AM, nightwatch77 <[email protected]>wrote: > > Hi, I've got some questions about RSB > 1. The public interface of IServiceBus is associated with a single > Endpoint. Is endpoint the same thing as queue? If so, does each > ServiceBus instance correspond to different queue? > 2. What are the exact semantiscs of Notify and Publish methods of > IServiceBus? I understand that they publish a message to the local > endpoint, so only local subscribers will receive that message. Is it > true? > 3. Why are subscriptions stored in a local queue? Are they persistent > somehow? If so, how does it work and how the framework will handle > subscriber process failure and restart? > 4. Suppose we Send a message and the message handler sends a response. > What happens if message processing takes a long time - for example > several days. Are we still able to get the response? What if the > sender process goes down in the meantime? > 5. Is there any developer documentation of RSB? > > Thanks > Rafal > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
