ensureTraceId

Ensures the command message has a trace ID, using its own ID if none exists.

Return

The command message with a trace ID