Interface ForwardCompatibilityHelper


@MinMuleVersion("4.5.0") public interface ForwardCompatibilityHelper
Helper class that allows connectors to consume new features that are exposed through an implicit method argument.
Since:
4.5
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mule.sdk.api.runtime.source.DistributedTraceContextManager
    getDistributedTraceContextManager(org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo)
    To be used by Operations to obtain the DistributedTraceContextManager associated to the current event context.
    org.mule.sdk.api.runtime.source.DistributedTraceContextManager
    getDistributedTraceContextManager(org.mule.runtime.extension.api.runtime.source.SourceCallbackContext sourceCallbackContext)
    To be used by Sources to obtain the DistributedTraceContextManager associated to the source callback context.
    org.mule.sdk.api.runtime.source.DistributedTraceContextManager
    getDistributedTraceContextManager(org.mule.sdk.api.runtime.parameter.CorrelationInfo correlationInfo)
    To be used by Operations to obtain the DistributedTraceContextManager associated to the current event context.
  • Method Details

    • getDistributedTraceContextManager

      org.mule.sdk.api.runtime.source.DistributedTraceContextManager getDistributedTraceContextManager(org.mule.runtime.extension.api.runtime.source.SourceCallbackContext sourceCallbackContext)
      To be used by Sources to obtain the DistributedTraceContextManager associated to the source callback context.
      Parameters:
      sourceCallbackContext - the SourceCallbackContext of the calling source.
      Returns:
      the associated DistributedTraceContextManager.
    • getDistributedTraceContextManager

      org.mule.sdk.api.runtime.source.DistributedTraceContextManager getDistributedTraceContextManager(org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo)
      To be used by Operations to obtain the DistributedTraceContextManager associated to the current event context.
      Parameters:
      correlationInfo - the CorrelationInfo of the current event.
      Returns:
      the associated DistributedTraceContextManager.
    • getDistributedTraceContextManager

      org.mule.sdk.api.runtime.source.DistributedTraceContextManager getDistributedTraceContextManager(org.mule.sdk.api.runtime.parameter.CorrelationInfo correlationInfo)
      To be used by Operations to obtain the DistributedTraceContextManager associated to the current event context.
      Parameters:
      correlationInfo - the CorrelationInfo of the current event.
      Returns:
      the associated DistributedTraceContextManager.