Class LogSpanDecorator

java.lang.Object
org.apache.camel.tracing.decorators.AbstractSpanDecorator
org.apache.camel.tracing.decorators.LogSpanDecorator
All Implemented Interfaces:
SpanDecorator

public class LogSpanDecorator extends AbstractSpanDecorator
  • Constructor Details

    • LogSpanDecorator

      public LogSpanDecorator()
  • Method Details

    • getComponent

      public String getComponent()
      Description copied from interface: SpanDecorator
      The camel component name associated with the decorator.
      Returns:
      The camel component name
    • getComponentClassName

      public String getComponentClassName()
      Description copied from interface: SpanDecorator
      The camel component FQN classname associated with the decorator.
      Returns:
      The camel component FQN classname
    • newSpan

      public boolean newSpan()
      Description copied from interface: SpanDecorator
      This method indicates whether the component associated with the SpanDecorator should result in a new span being created.
      Specified by:
      newSpan in interface SpanDecorator
      Overrides:
      newSpan in class AbstractSpanDecorator
      Returns:
      Whether a new span should be created