Skip to main content

@webda/coreReadme | API


Class: FileQueueParameters

Interface to specify the Service parameters

Extends

Constructors

new FileQueueParameters(params)

new FileQueueParameters(params): FileQueueParameters

Parameters

params: any

Returns

FileQueueParameters

Overrides

QueueParameters.constructor

Source

packages/core/src/queues/filequeue.ts:20

Properties

expire?

expire?: number

Number of seconds before droping message

Default

30

Source

packages/core/src/queues/filequeue.ts:14


folder

folder: string

Where to store the queue

Source

packages/core/src/queues/filequeue.ts:18


maxConsumers

maxConsumers: number

Max number of queue consumers Queue will auto increase to this max number if queue is loaded and it will decrease to just one consumer if no messages are available

Default

10

Inherited from

QueueParameters.maxConsumers

Source

packages/core/src/queues/queueservice.ts:45


openapi?

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore

Inherited from

QueueParameters.openapi

Source

packages/core/src/services/service.ts:260


type

type: string

Type of the service

Inherited from

QueueParameters.type

Source

packages/core/src/services/service.ts:251


url?

url?: string

URL on which to serve the content

Inherited from

QueueParameters.url

Source

packages/core/src/services/service.ts:255


workerDelayer?

workerDelayer?: WaitDelayerDefinition

Delayer between two failed attempts to process messages

Inherited from

QueueParameters.workerDelayer

Source

packages/core/src/queues/queueservice.ts:32


workerParallelism?

workerParallelism?: boolean

Define if worker should process multi message received in //

Default

true

Inherited from

QueueParameters.workerParallelism

Source

packages/core/src/queues/queueservice.ts:37