QueueConfig

class QueueConfig

RabbitMQ Queue Configuration

Constructors

Link copied to clipboard
fun QueueConfig()

Functions

Link copied to clipboard
fun errorQueueName(name: String): QueueConfig

Configures the name of the job error notification queue.

Link copied to clipboard
fun hostname(host: String): QueueConfig

Configures the RabbitMQ hostname.

Link copied to clipboard
fun hostPort(port: Int): QueueConfig

Configures the RabbitMQ host port.

Link copied to clipboard
fun jobQueueName(name: String): QueueConfig

Configures the name of the job dispatch queue.

Link copied to clipboard
fun password(pass: String): QueueConfig

Configures the RabbitMQ authentication password.

Link copied to clipboard
fun successQueueName(name: String): QueueConfig

Configures the name of the job success notification queue.

Link copied to clipboard
fun timeout(time: Int): QueueConfig

Configures the RabbitMQ connection timeout.

Link copied to clipboard
fun username(user: String): QueueConfig

Configures the RabbitMQ authentication username.

Properties

Link copied to clipboard
var errorQueueName: String

Job Failure Notification Queue Name

Link copied to clipboard
var hostname: String

RabbitMQ Connection Hostname

Link copied to clipboard
var hostPort: Int = 5672

RabbitMQ Connection Port

Link copied to clipboard
var jobQueueName: String

Job Dispatch Queue Name

Link copied to clipboard
var password: String

RabbitMQ Authentication Password

Link copied to clipboard
var successQueueName: String

Job Success Notification Queue Name

Link copied to clipboard
var timeout: Int

RabbitMQ Connection Timeout

Link copied to clipboard
var username: String

RabbitMQ Authentication Username

Link copied to clipboard
var workers: Int = 5

Callback Worker Count