How to configure an Azure Service Bus

This tutorial goes through how you can configure and customize your azure service bus to your needs

Under the "Azure Service Bus" tab, you can hover over a specific service bus and click the "Edit" button. Scroll down to the "Events" section to start configuring the service bus.

Showcasing Events

The image above, shows an "Active" toggle, this determines if your azure service bus is active. Remember to enable it after you have finished configuring the service bus.

Trigger events

Trigger events determine what events the service bus sends out messages for. So if you, for example, are interested in all events regarding products, creation, deletion and updates, you could expand the "products" section and enable all of them.

Example of events enabled

Now if you have activated your azure service bus, it will add every product creation, deletion or update to the message queue. It quickly becomes obvious to see there is room for a lot of customization regarding which events your service bus triggers on.

Advanced settings

Some events have advanced settings, you can configure these settings by clicking "Advanced settings" to the right of a toggle. These settings will allow you to further customize some events and when they should trigger. While the advanced settings can vary from event to event, they are overall quite similar.

We will show advanced settings for "Product updated" as an example.

Specific event with "Advanced settings"

Here we can see two sections, "Trigger options" and "Setup request".

Advanced settings

Trigger options

When you enable "Conditional triggering" more options will pop up. These trigger options are more specific, such as "Product structure updates".

Additional trigger options

We can also choose if it should trigger on attribute updates, such as; "Do not fire", "Fire on all", or "Fire on specific". If you choose "Fire on specific" you can choose which specific attributes to trigger on.

Only fire if Color, BaseCostPrice, Brand or Description is updated

Setup request

You can choose a data mode and see an example of the data output. The options are either; "Ids only" or "Change set".

"Ids only" will only contain the transaction uid and the ids of the products that were updated.

Ids only example

The "Change set" however, will contain the transaction uid, ids of the products that were updated and information about what was updated on the products.

Change set example

Last updated