Annotation Interface XRayTrace


@Target(TYPE) @Retention(RUNTIME) public @interface XRayTrace
Annotates a class for being a target for tracing via Camel's AWS XRay tracer. The target class has thus to be either a Camel Processor or a .bean(...) invoked class.

The metricName argument allows to define a custom name visible in the resulting AWS XRay trace. If none is defined the simple class name of the respective class will be used.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • metricName

      String metricName
      Default:
      ""