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 TypeMethodDescriptionorg.mule.sdk.api.runtime.source.DistributedTraceContextManagergetDistributedTraceContextManager(org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo) To be used by Operations to obtain theDistributedTraceContextManagerassociated to the current event context.org.mule.sdk.api.runtime.source.DistributedTraceContextManagergetDistributedTraceContextManager(org.mule.runtime.extension.api.runtime.source.SourceCallbackContext sourceCallbackContext) To be used by Sources to obtain theDistributedTraceContextManagerassociated to the source callback context.org.mule.sdk.api.runtime.source.DistributedTraceContextManagergetDistributedTraceContextManager(org.mule.sdk.api.runtime.parameter.CorrelationInfo correlationInfo) To be used by Operations to obtain theDistributedTraceContextManagerassociated 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 theDistributedTraceContextManagerassociated to the source callback context.- Parameters:
sourceCallbackContext- theSourceCallbackContextof 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 theDistributedTraceContextManagerassociated to the current event context.- Parameters:
correlationInfo- theCorrelationInfoof 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 theDistributedTraceContextManagerassociated to the current event context.- Parameters:
correlationInfo- theCorrelationInfoof the current event.- Returns:
- the associated
DistributedTraceContextManager.
-