4

Does Sitecore have built in message queue that supports the batching of messages? It looks like the event queue only supports single messages being passed to a handler?

2 Answers 2

6

Not out of the box. You could theoretically craft something on top of the EventQueue, but I would probably look to third party solutions.

Edited to add:

There are indications that Sitecore architecure will move in the direction that allows for easier adaptation and implementation of Service Bus technology. Not much is known at this point - even less not under NDA constraints - but Sitecore xConnect was presented at the 2016 symposium. From an architectural point of view, it sits right in the place you would normally think in ESB.

enter image description here

(Image source: https://twitter.com/m7mdSyam/status/776887493484511232)

Additional information; Todd Mitchells presentation on xConnect at Symposium 2016.

1
  • 2
    It might be worth updating this answer with information on Sitecore 9 / Sitecore.Messaging / Rebus Jun 11, 2018 at 12:47
13

In Sitecore 9.x There is a new message bus implementation based on Rebus with an RabitMQ Transport Provider. This can be leveraged for your own custom requirements too.

It is used already in Sitecore 9 by:

  • EXM Dispatch
  • Marketing Automation
  • xConnect

There is more info on this here:

https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/message-bus.html

There is a good example of using it for custom requirements here:

https://www.pintle.dk/insights/using-sitecore-service-bus/

** Thanks to Pete Navarra for pointing out on Slack that more accurately there is a RabitMQ Transport Plugin running on Rebus.

1
  • It should be noted; Sitecore plans to abstract the actual Q implementation. Dec 7, 2018 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.