public interface SagaManagerSpanFactory
AbstractSagaManager. You can customize the spans of the bus by
creating your own implementation.| Modifier and Type | Method and Description |
|---|---|
Span |
createCreateSagaInstanceSpan(EventMessage<?> event,
Class<?> sagaType,
String sagaIdentifier)
Creates a span that represents the creation of a new saga instance.
|
Span |
createInvokeSagaSpan(EventMessage<?> event,
Class<?> sagaType,
Saga<?> saga)
Creates a span that represents the invocation of a saga.
|
Span createCreateSagaInstanceSpan(EventMessage<?> event, Class<?> sagaType, String sagaIdentifier)
event - The event that triggered the creation of the saga.sagaType - The type of the saga.sagaIdentifier - The identifier of the saga.Span createInvokeSagaSpan(EventMessage<?> event, Class<?> sagaType, Saga<?> saga)
event - The event that triggered the invocation of the saga.sagaType - The type of the saga.saga - The saga that will be invoked.Copyright © 2010–2025. All rights reserved.