Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.35 KB

queuecreation.md

File metadata and controls

33 lines (21 loc) · 1.35 KB
title summary component reviewed versions redirects
Creating queues
Explains how queues are created
Core
2021-01-04
[4,]
nservicebus/queuecreation

WARNING: NServiceBus will automatically request the transport to create queues needed if the installers are enabled. This also includes queues needed by all declared satellites. Prefer the use of scripts to create custom queues instead of relying on interfaces provided by NServiceBus.

The scripting guidelines shows how to take full control over queue creation:

Declaration

Queues should be declared during the Setup phase of a Feature.

A built-in example is the audit feature which needs the audit queue. During start-up NServiceBus ensures the declared queues are present and aborts the start-up procedure if they are not (with an exception of MSMQ remote queues which are optional).

snippet: queuebindings

Creation

Queues are created only during installation.