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