Data class representing a message for the executor.
The action to be performed.
The maximum number of retries allowed on failure.
The unique identifier of the plan.
The unique identifier of the task.
Extension function to encode a QueueMessage to a ByteArray using the provided Json instance.
Extension function to encode a QueueMessage to a String using the provided Json instance.