Member Junction
    Preparing search index...

    What a Hello World message may carry. Every field is optional, so {} is a valid message; the extra fields exist to exercise one queue behaviour each from a single topic:

    • name — who to greet (default "World").
    • sleepMs — hold the delivery in flight this long. Long enough to watch it with mj queue stats, or to cancel it with mj queue discard and see the handler stop through its Signal.
    • fail — 'transient' retries with backoff until MaxAttempts, then dead-letters; 'fatal' dead-letters at once.
    • failUntilAttempt — fail transiently while Attempt < failUntilAttempt, then succeed: a retry that recovers.
    type HelloWorldPayload = {
        fail?: "transient" | "fatal";
        failUntilAttempt?: number;
        name?: string;
        sleepMs?: number;
    }
    Index

    Properties

    fail?: "transient" | "fatal"
    failUntilAttempt?: number
    name?: string
    sleepMs?: number