Queue Connection
QueueConnectionDefinition Methods
provider
Arguments
Type
Required
Default
Description
A Queue Connection is defined inside your cbq config file using a QueueConnectionDefinition builder component. You can create one of these builder components using the newConnection method.
Sets the provider for the Queue Connection. This can be any valid WireBox mapping and should implement the IQueueProvider interface. (There is no need to use the implements keyword.)
provider
string
true
A valid WireBox mapping to the desired Provider.
Alias for provider.
Accepts a struct of properties to configure the Queue Connection. The available properties are usually defined by the Queue Provider being used.
Sets the default queue to use for jobs dispatched on this Queue Connection.
Marks this Queue Connection as the default Queue Connection for jobs dispatched without specifying a Queue Connection.
Alias for markAsDefault.