Skip to main content

Azure Service Bus

The Enterspeed Azure Service Bus integration uses the destinations field to send data from views directly to a configured Azure Service Bus queue or topic. This means that you can decide on schema level which views you want to send to the service bus.

You will only have to set the destination field on the entity schema you want to send to the Azure Service Bus. All schema references are automatically resolved so you don't have to set it on all referenced schemas.

It's possible to configure multiple Azure Service Bus destinations if you need to push different types of data to different service bus queues or topic.


In order to setup the Azure Service Bus configuration you need the following:

ConnectionStringThe connection string to the Azure Service Bus
QueueOrTopicNameThe name of the queue or topic in the Azure Service Bus


The message will send the following data.

"id": "gid://Environment/2052b78d-6c34-4f11-bea5-296cf2d26968/Source/053b598b-c3d1-46fb-91e3-53115169cdb2/Entity/1234/View/product", // the Enterspeed view id
"originId": "1234", // the origin id of the entity
"type": "product", // the type of the entity
"action": "Deploy", // can have the value of Deploy or Remove
"url": "" // the absolute url for the delivery api to fetch the view

Example of usage

Content schema with Azure Service Bus destination
/** @type {Enterspeed.FullSchema} */
export default {
triggers: function(context) {
context.triggers('cms', ['content']);
actions: function (sourceEntity, context) {
properties: function ({properties: p, url}, context) {
return {
product: {
url: url,
title: p.title,
content: p.text