public class FlowProcessorComponent extends AbstractProcessorComponent
AbstractProcessorComponent.ContextMapGetterconfigurationComponentLocator, FLOW, NAMESPACE_MULE| Constructor and Description |
|---|
FlowProcessorComponent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier) |
protected String |
getNamespace() |
protected List<String> |
getOperations() |
TraceComponent |
getSourceEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler)
For flows with a source component, this method can allow processor components
to build source specific traces.
|
protected List<String> |
getSources() |
TraceComponent |
getSourceStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler)
If a message processor has a source variation, then this implementation can
do more processing of a component.
|
TraceComponent |
getStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
Build a
TraceComponent for start of a flow-like container or a
message processor. |
addTagIfPresent, getAttributes, getBaseTraceComponent, getDefaultSpanName, getEndTraceComponent, getProcessorCommonTags, getSourceComponent, getSourceIdentifier, getSpanKind, getStartTraceComponent, getTraceComponentBuilderFor, getTransactionId, namespaceSupported, operationSupported, sourceSupported, withConfigurationComponentLocatorpublic boolean canHandle(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier)
canHandle in interface ProcessorComponentcanHandle in class AbstractProcessorComponentprotected String getNamespace()
getNamespace in class AbstractProcessorComponentprotected List<String> getSources()
getSources in class AbstractProcessorComponentprotected List<String> getOperations()
getOperations in class AbstractProcessorComponentpublic TraceComponent getStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
ProcessorComponentTraceComponent for start of a flow-like container or a
message processor.getStartTraceComponent in interface ProcessorComponentgetStartTraceComponent in class AbstractProcessorComponentnotification - EnrichedServerNotificationTraceComponentpublic TraceComponent getSourceStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification, TraceContextHandler traceContextHandler)
ProcessorComponentnotification - EnrichedServerNotificationtraceContextHandler - TraceContextHandler to help extract OpenTelemetry contextTraceComponentpublic TraceComponent getSourceEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification, TraceContextHandler traceContextHandler)
ProcessorComponentnotification - EnrichedServerNotificationtraceContextHandler - TraceContextHandlerCopyright © 2024 AVIO Consulting. All rights reserved.