Class RqueueMessage
- All Implemented Interfaces:
Serializable
Message Content. The message field holds the serialized (JSON) representation
of the user's object. Use RqueueMessageUtils
to convert between serialized and object form.
Timing and Scheduling. queuedTime records when the message was enqueued
(nanosecond precision). processAt defines the intended processing time (for delayed
messages). reEnqueuedAt tracks the last re-queue timestamp following failure.
Failure Tracking. failureCount and sourceQueueFailureCount track
retries in the current and source queue respectively. Once retries are exhausted, the message
may be routed to the configured dead-letter queue (sourceQueueName).
Periodic Tasks. For messages representing recurring work, the period field
(in milliseconds) defines the recurrence interval. Use nextProcessAt() to compute the
next scheduling time.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanlong