Search code examples
design-patternsarchitecturenservicebusservicebus

How does ServiceBus work?


I'm interested in how does ServiceBus working. I mean not concrete realization, but general idea, pattern if possible to say this way. Is it encapsulated Observer logic inside? Maybe someone knew the articles like "Create your own ServiceBus tuturial" or "Create own ServiceBus for dummies" =)


Solution

  • Hm, I asked that question a lot of time ago, but no one still get an simple and correct answer. ServiceBus normally work in pretty much straightforward manner - hide transport layer inside and allow to publishers transfer their data (message) through this transport layer, and guarantee that subscribers will get this information. Message queue is used as transport layer most of the time. Sometimes some additional bussines logic could be added to servicebus implementation, like invoking routing between subscribers, or security, or some other things, but in general it's just an abstraction above transport layer.

    So you can see that it's pretty simple inside.