correlation.set_correlation_id()

Set the given correlation ID for the life of the context.

Usage

Source

correlation.set_correlation_id(correlation_id)

Raises

InvalidCorrelationIdError
when the correlation ID is empty or invalid.