Type Alias: QueueEntrypointOptions
QueueEntrypointOptions =
object
The options of queueEntrypoint.
Properties
middlewares?
optionalmiddlewares?:MiddlewareDefinition[]
The middlewares of the adapter, run for each message before the ones of the controllers and the actions.
name?
optionalname?:string
The name of the adapter (several adapters of one channel are told apart by it).
onError?
optionalonError?: (error,action,context) =>void|Promise<void>
Called for each failure of an action (retried or not), before the retry or the dead letter.
Parameters
error
unknown
action
context
Returns
void | Promise<void>
Default
the error written to the log of the application (log), else to the console