10.28.13

MessageTracingExtensions.GetTransportContext Method

Retrieves a read only view for ITraceContext object used for carrying over of the distributed tracing transport context information. It allows correlating the producer and the consumer with an intermediary. It also allows correlating multiple intermediaries among each other. When no transport context is present it may return a creation context when available as an initial transport context. Null can be returned when when no such context is associated with a carrier

Definition

Namespace: SolaceSystems.Solclient.Messaging.Trace.Propagation
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.28.1
C#
public static ITraceContext? GetTransportContext(
	IMessage message
)

Parameters

message  IMessage
SolaceSystems.Solclient.Messaging.IMessage instance.

Return Value

ITraceContext
Returns transport context associated with the message

See Also