10.28.13

MessageTracingExtensions.GetCreationContext Method

Retrieves a read only view for ITraceContext object used for carrying over of the distributed tracing message creation context information across service boundaries. It allows correlating the producer with the consumers of a message, regardless of intermediary instrumentation. It must not be altered by intermediaries. 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? GetCreationContext(
	IMessage message
)

Parameters

message  IMessage
SolaceSystems.Solclient.Messaging.IMessage instance.

Return Value

ITraceContext
Returns creation context associated with the message

See Also