Callback support

Component: SQL Server Transport | Nuget: NServiceBus.SqlServer (Version: 2.x)
Target NServiceBus Version: 5.x

Disable callbacks

Callbacks and callback queues receivers are enabled by default. In order to disable them use the following setting:

Edit
var transport = busConfiguration.UseTransport<SqlServerTransport>();
transport.DisableCallbackReceiver();

Secondary queues use the same adaptive concurrency model as the primary queue. Secondary queues (and hence callbacks) are disabled for satellite receivers.

Callback Receiver Max Concurrency

Changes the number of threads used for the callback receiver. The default is 1 thread.

Edit
var transport = busConfiguration.UseTransport<SqlServerTransport>();
transport.CallbackReceiverMaxConcurrency(10);

Related Articles

  • Client side Callbacks
    The client (or sending process) has its own queue. When messages arrive in the queue, they are handled by a message handler.

Last modified