Skip to content

PURISTA API


PURISTA API / @purista/amqpbridge / serializeOtpForAmqpHeader

Function: serializeOtpForAmqpHeader()

serializeOtpForAmqpHeader(header): Record<string, string | undefined>

Defined in: amqpbridge/src/serializeOtpForAmqpHeader.impl.ts:7

Injects the active OpenTelemetry trace context into AMQP headers. This enables cross-service trace propagation for messages.

Parameters

Record<string, string | undefined>

Returns

Record<string, string | undefined>