Skip to main content

@webda/coreReadme | API


Class: QueueParameters

Interface to specify the Service parameters

Extends

Constructors

new QueueParameters(params)

new QueueParameters(params): QueueParameters

Parameters

params: any

Returns

QueueParameters

Overrides

ServiceParameters.constructor

Inherit Doc

Source

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

Properties

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

Source

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


openapi?

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore

Inherited from

ServiceParameters.openapi

Source

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


type

type: string

Type of the service

Inherited from

ServiceParameters.type

Source

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


url?

url?: string

URL on which to serve the content

Inherited from

ServiceParameters.url

Source

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


workerDelayer?

workerDelayer?: WaitDelayerDefinition

Delayer between two failed attempts to process messages

Source

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


workerParallelism?

workerParallelism?: boolean

Define if worker should process multi message received in //

Default

true

Source

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