DeadLetterQueueOptionsBuilder
Esta página aún no está disponible en tu idioma.
Defined in: src/deadletters/DeadLetterQueueOptions.ts:113
Fluent builder for DeadLetterQueueOptionsType.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DeadLetterQueueOptionsBuilder():
DeadLetterQueueOptionsBuilder
Returns
Section titled “Returns”DeadLetterQueueOptionsBuilder
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”build()
Section titled “build()”build():
Partial<T>
Defined in: src/util/OptionsBuilder.ts:51
Snapshot the set fields as an independent Partial<T> (own props only).
Returns
Section titled “Returns”Partial<T>
Inherited from
Section titled “Inherited from”withMaxEntries()
Section titled “withMaxEntries()”withMaxEntries(
maxEntries):this
Defined in: src/deadletters/DeadLetterQueueOptions.ts:125
Cap on the letters the queue holds before it evicts the oldest.
Parameters
Section titled “Parameters”maxEntries
Section titled “maxEntries”number
Returns
Section titled “Returns”this
withMaxReplays()
Section titled “withMaxReplays()”withMaxReplays(
maxReplays):this
Defined in: src/deadletters/DeadLetterQueueOptions.ts:135
Cap on how often one letter may be replayed before it is quarantined.
Parameters
Section titled “Parameters”maxReplays
Section titled “maxReplays”number
Returns
Section titled “Returns”this
withPersistenceId()
Section titled “withPersistenceId()”withPersistenceId(
persistenceId):this
Defined in: src/deadletters/DeadLetterQueueOptions.ts:140
Journal stream the persistent store writes to.
Parameters
Section titled “Parameters”persistenceId
Section titled “persistenceId”string
Returns
Section titled “Returns”this
withRetentionMs()
Section titled “withRetentionMs()”withRetentionMs(
retentionMs):this
Defined in: src/deadletters/DeadLetterQueueOptions.ts:130
Age letters out after this many milliseconds. 0 disables ageing.
Parameters
Section titled “Parameters”retentionMs
Section titled “retentionMs”number
Returns
Section titled “Returns”this
withStore()
Section titled “withStore()”withStore(
store):this
Defined in: src/deadletters/DeadLetterQueueOptions.ts:120
Where captured letters are kept — off, metrics, memory or persistent.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”this
create()
Section titled “create()”
staticcreate():DeadLetterQueueOptionsBuilder
Defined in: src/deadletters/DeadLetterQueueOptions.ts:115
Start a fresh builder.
Returns
Section titled “Returns”DeadLetterQueueOptionsBuilder
