ForQueue
- A queue will be created for message of type
T
, using the suppliedIQueueNamingConvention
, applied to the message typeT
.- This convention can be overridden on a case-by-case basis using
WithName
in the queue configuration.
- A dead letter queue will be created, named after the queue name above with an
_error
suffix.
x.ForQueue<OrderReadyEvent>();
This describes the following infrastructure:
- An SQS queue of name
orderreadyevent
- An SQS queue of name
orderreadyevent_error
Further configuration options can be defined by passing a configuration lambda to the
ForQueue
method.Last modified 1yr ago