Class JobQueueConfiguration
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BackgroundJobs.RabbitMQ
Assembly: Volo.Abp.BackgroundJobs.RabbitMQ.dll
Syntax
public class JobQueueConfiguration : QueueDeclareConfiguration
Constructors
JobQueueConfiguration(Type, string, string, string, bool, bool, bool, ushort?)
Declaration
public JobQueueConfiguration(Type jobArgsType, string queueName, string delayedQueueName, string connectionName = null, bool durable = true, bool exclusive = false, bool autoDelete = false, ushort? prefetchCount = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | jobArgsType | |
| string | queueName | |
| string | delayedQueueName | |
| string | connectionName | |
| bool | durable | |
| bool | exclusive | |
| bool | autoDelete | |
| ushort? | prefetchCount |
Properties
ConnectionName
Declaration
public string ConnectionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DelayedQueueName
Declaration
public string DelayedQueueName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
JobArgsType
Declaration
public Type JobArgsType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
Methods
DeclareDelayed(IModel)
Declaration
public virtual QueueDeclareOk DeclareDelayed(IModel channel)
Parameters
| Type | Name | Description |
|---|---|---|
| RabbitMQ.Client.IModel | channel |
Returns
| Type | Description |
|---|---|
| RabbitMQ.Client.QueueDeclareOk |