Class MuleTracingModuleOperations

java.lang.Object
org.mule.extension.mule.tracing.module.internal.MuleTracingModuleOperations

public class MuleTracingModuleOperations extends Object
Tracing Module Operations
  • Constructor Details

    • MuleTracingModuleOperations

      public MuleTracingModuleOperations()
  • Method Details

    • withCorrelationId

      @DisplayName("With CorrelationID") @MediaType(value="*/*", strict=false) @PassThroughOutputChainResolver public void withCorrelationId(@PassThroughInputChainResolver @ExecutionOccurrence(ONCE) org.mule.runtime.extension.api.runtime.route.Chain chain, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object,Object> callback, @Expression(REQUIRED) String correlationId)
      Scope that creates a process the inner chain modifying the current correlation id. After finishing its execution The correlation ID wil go back to the previous one.
    • setLoggingVariable

      public void setLoggingVariable(String variableName, String value)
      Adds a new variable in the event logging context. It will be present in the next operations executions for this event.
      Parameters:
      variableName - Name from the logging variable to be added.
      value - Value to add to the logging context.
    • removeLoggingVariable

      public void removeLoggingVariable(String variableName)
      Removes a variable from the event logging context.
      Parameters:
      variableName - Name from the logging variable to be removed.
    • clearLoggingVariables

      public void clearLoggingVariables()
      Clears all the custom variables from the event logging context. It will *not* remove the correlation id nor the current event processor, since those variables are managed internally by mule runtime.