10.28.13

MessageTracingExtensions.GetContextSetter Method

Retrieves a ITraceContextSetter that is used to modify an appropriate ActivityContext propagated with a message transparently.

Definition

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

Parameters

message  IMessage
SolaceSystems.Solclient.Messaging.IMessage instance.

Return Value

ITraceContextSetter
Returns ITraceContextSetter associated with the message

Remarks

When no context is stored in a message it will create and store a creation context with a message that can be used as an initial transport context at the same time. It will newer override an existing message creation context. When creation context is present or only transport context is present, it will override an existing transport context information with a newly provided one.

See Also