public class HttpProcessorComponent extends AbstractProcessorComponent
AbstractProcessorComponent.ContextMapGetter| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE |
configurationComponentLocator, FLOW, NAMESPACE_MULE| Constructor and Description |
|---|
HttpProcessorComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected <A> Map<String,String> |
getAttributes(org.mule.runtime.api.component.Component component,
org.mule.runtime.api.metadata.TypedValue<A> attributes) |
TraceComponent |
getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
Build a
TraceComponent for end of a flow-like container or a message
processor. |
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.
|
protected io.opentelemetry.api.trace.SpanKind |
getSpanKind() |
TraceComponent |
getStartTraceComponent(org.mule.runtime.api.component.Component component,
org.mule.runtime.api.event.Event event)
Create a start trace component without the notification object.
|
addTagIfPresent, canHandle, getBaseTraceComponent, getDefaultSpanName, getProcessorCommonTags, getSourceComponent, getSourceIdentifier, getStartTraceComponent, getTraceComponentBuilderFor, getTransactionId, namespaceSupported, operationSupported, sourceSupported, withConfigurationComponentLocatorpublic static final String NAMESPACE
protected String getNamespace()
getNamespace in class AbstractProcessorComponentprotected List<String> getOperations()
getOperations in class AbstractProcessorComponentprotected List<String> getSources()
getSources in class AbstractProcessorComponentprotected io.opentelemetry.api.trace.SpanKind getSpanKind()
getSpanKind in class AbstractProcessorComponentpublic TraceComponent getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
ProcessorComponentTraceComponent for end of a flow-like container or a message
processor.
This may need light processing compared to
ProcessorComponent.getStartTraceComponent(EnrichedServerNotification).getEndTraceComponent in interface ProcessorComponentgetEndTraceComponent in class AbstractProcessorComponentnotification - EnrichedServerNotificationTraceComponentpublic TraceComponent getStartTraceComponent(org.mule.runtime.api.component.Component component, org.mule.runtime.api.event.Event event)
AbstractProcessorComponentgetStartTraceComponent in interface ProcessorComponentgetStartTraceComponent in class AbstractProcessorComponentcomponent - Componentevent - Messageprotected <A> Map<String,String> getAttributes(org.mule.runtime.api.component.Component component, org.mule.runtime.api.metadata.TypedValue<A> attributes)
getAttributes in class AbstractProcessorComponentpublic 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.