public interface ProcessorComponent
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier) |
TraceComponent |
getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
Build a
TraceComponent for end of a flow-like container or a message
processor. |
default 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.
|
default 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.component.Component component,
org.mule.runtime.api.event.Event event)
|
TraceComponent |
getStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
Build a
TraceComponent for start of a flow-like container or a
message processor. |
ProcessorComponent |
withConfigurationComponentLocator(org.mule.runtime.api.component.location.ConfigurationComponentLocator configurationComponentLocator) |
boolean canHandle(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier)
ProcessorComponent withConfigurationComponentLocator(org.mule.runtime.api.component.location.ConfigurationComponentLocator configurationComponentLocator)
TraceComponent getStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
TraceComponent for start of a flow-like container or a
message processor.notification - EnrichedServerNotificationTraceComponentTraceComponent getStartTraceComponent(org.mule.runtime.api.component.Component component, org.mule.runtime.api.event.Event event)
component - Componentevent - EventTraceComponent getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
TraceComponent for end of a flow-like container or a message
processor.
This may need light processing compared to
getStartTraceComponent(EnrichedServerNotification).notification - EnrichedServerNotificationTraceComponentdefault TraceComponent getSourceStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification, TraceContextHandler traceContextHandler)
notification - EnrichedServerNotificationtraceContextHandler - TraceContextHandler to help extract OpenTelemetry contextTraceComponentdefault TraceComponent getSourceEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification, TraceContextHandler traceContextHandler)
notification - EnrichedServerNotificationtraceContextHandler - TraceContextHandlerCopyright © 2024 AVIO Consulting. All rights reserved.