Class TracingProperties.AttributeProviders

java.lang.Object
org.axonframework.extension.springboot.TracingProperties.AttributeProviders
Enclosing class:
TracingProperties

public static class TracingProperties.AttributeProviders extends Object
Toggles for the built-in SpanAttributesProviders, bound at axon.tracing.attribute-providers.*. Each toggle decides whether the corresponding provider is contributed to the SpanAttributesProviderRegistry the SpanFactory is constructed with.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the aggregate-identifier attribute provider is contributed.
    boolean
    Returns whether the event-tags attribute provider is contributed.
    boolean
    Returns whether the message-id attribute provider is contributed.
    boolean
    Returns whether the message-type attribute provider is contributed.
    boolean
    Returns whether the metadata attribute provider is contributed.
    void
    setAggregateIdentifier(boolean aggregateIdentifier)
    Sets whether the aggregate-identifier attribute provider is contributed.
    void
    setEventTags(boolean eventTags)
    Sets whether the event-tags attribute provider is contributed.
    void
    setMessageId(boolean messageId)
    Sets whether the message-id attribute provider is contributed.
    void
    setMessageType(boolean messageType)
    Sets whether the message-type attribute provider is contributed.
    void
    setMetadata(boolean metadata)
    Sets whether the metadata attribute provider is contributed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AttributeProviders

      public AttributeProviders()
  • Method Details

    • isMessageId

      public boolean isMessageId()
      Returns whether the message-id attribute provider is contributed.
      Returns:
      true when the message-id provider is contributed, false otherwise
    • setMessageId

      public void setMessageId(boolean messageId)
      Sets whether the message-id attribute provider is contributed.
      Parameters:
      messageId - true to contribute the message-id provider, false to omit it
    • isMessageType

      public boolean isMessageType()
      Returns whether the message-type attribute provider is contributed.
      Returns:
      true when the message-type provider is contributed, false otherwise
    • setMessageType

      public void setMessageType(boolean messageType)
      Sets whether the message-type attribute provider is contributed.
      Parameters:
      messageType - true to contribute the message-type provider, false to omit it
    • isMetadata

      public boolean isMetadata()
      Returns whether the metadata attribute provider is contributed.
      Returns:
      true when the metadata provider is contributed, false otherwise
    • setMetadata

      public void setMetadata(boolean metadata)
      Sets whether the metadata attribute provider is contributed.
      Parameters:
      metadata - true to contribute the metadata provider, false to omit it
    • isAggregateIdentifier

      public boolean isAggregateIdentifier()
      Returns whether the aggregate-identifier attribute provider is contributed.
      Returns:
      true when the aggregate-identifier provider is contributed, false otherwise
    • setAggregateIdentifier

      public void setAggregateIdentifier(boolean aggregateIdentifier)
      Sets whether the aggregate-identifier attribute provider is contributed.
      Parameters:
      aggregateIdentifier - true to contribute the aggregate-identifier provider, false to omit it
    • isEventTags

      public boolean isEventTags()
      Returns whether the event-tags attribute provider is contributed.
      Returns:
      true when the event-tags provider is contributed, false otherwise
    • setEventTags

      public void setEventTags(boolean eventTags)
      Sets whether the event-tags attribute provider is contributed.
      Parameters:
      eventTags - true to contribute the event-tags provider, false to omit it