Package org.axonframework.springboot
Class TracingProperties.CommandBusProperties
java.lang.Object
org.axonframework.springboot.TracingProperties.CommandBusProperties
- Enclosing class:
TracingProperties
Configuration properties for the behavior of creating tracing spans for the
CommandBus.- Since:
- 4.9.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether distributed commands should be part of the same trace.voidsetDistributedInSameTrace(boolean distributedInSameTrace) Sets whether distributed commands should be part of the same trace.
-
Constructor Details
-
CommandBusProperties
public CommandBusProperties()
-
-
Method Details
-
isDistributedInSameTrace
public boolean isDistributedInSameTrace()Whether distributed commands should be part of the same trace. Defaults totrue.- Returns:
- whether distributed commands should be part of the same trace.
-
setDistributedInSameTrace
public void setDistributedInSameTrace(boolean distributedInSameTrace) Sets whether distributed commands should be part of the same trace.- Parameters:
distributedInSameTrace- whether distributed commands should be part of the same trace.
-