keiro-dsl-0.17.0.0: test/fixtures/mapped-nominal-queue-only-enum.keiro
language keiro-dsl 6
context mapped-nominal-queue-only-enum
enum TemplateKind { Draft=draft Published=published }
workqueue template_work {
queue logical = "template.work"
derive physical = "template_work"
dlq = "template_work_dlq"
table = "pgmq.q_template_work"
payload TemplateWork {
kind -> "kind" : TemplateKind
}
retry maxRetries = 3 delay = 1s dlq = on
disposition {
storeFailure -> retry 1s
commandRejected -> deadLetter
decodeFailure -> deadLetter
onCodecReject -> deadLetter
}
}