RequestMetaInfo

data class RequestMetaInfo(val timestamp: Instant, val metadata: JsonObject? = null) : MessageMetaInfo(source)

Represents MessageMetaInfo specific to a request within the system.

This class is an implementation of the MessageMetaInfo interface and provides timestamp information for a request.

Constructors

Link copied to clipboard
constructor(timestamp: Instant, metadata: JsonObject? = null)

Types

Link copied to clipboard
object Companion

Companion object for RequestMetaInfo that provides factory methods and utilities related to creating instances.

Properties

Link copied to clipboard
open override val metadata: JsonObject? = null

Free-form information associated with a message. Can be used to store custom metadata that doesn't fit into the standard fields.

Link copied to clipboard
open override val timestamp: Instant

The time at which the request metadata was created. Defaults to the current system time if not provided.