Class AbstractProcessorComponent

    • Field Detail

      • configurationComponentLocator

        protected org.mule.runtime.api.component.location.ConfigurationComponentLocator configurationComponentLocator
    • Constructor Detail

      • AbstractProcessorComponent

        public AbstractProcessorComponent()
    • Method Detail

      • getNamespace

        protected abstract String getNamespace()
      • getOperations

        protected abstract List<String> getOperations()
      • getSources

        protected abstract List<String> getSources()
      • getSpanKind

        protected io.opentelemetry.api.trace.SpanKind getSpanKind()
      • canHandle

        public boolean canHandle​(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier)
        Specified by:
        canHandle in interface ProcessorComponent
      • namespaceSupported

        protected boolean namespaceSupported​(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier)
      • operationSupported

        protected boolean operationSupported​(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier)
      • sourceSupported

        protected boolean sourceSupported​(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier)
      • getTraceComponentBuilderFor

        protected TraceComponent getTraceComponentBuilderFor​(org.mule.runtime.api.notification.EnrichedServerNotification notification)
      • getBaseTraceComponent

        protected TraceComponent getBaseTraceComponent​(org.mule.runtime.api.notification.EnrichedServerNotification notification)
      • getTransactionId

        protected String getTransactionId​(org.mule.runtime.api.notification.EnrichedServerNotification notification)
      • getProcessorCommonTags

        protected Map<String,​String> getProcessorCommonTags​(org.mule.runtime.api.component.Component component)
      • getSourceIdentifier

        protected org.mule.runtime.api.component.ComponentIdentifier getSourceIdentifier​(org.mule.runtime.api.notification.EnrichedServerNotification notification)
      • getAttributes

        protected <A> Map<String,​String> getAttributes​(org.mule.runtime.api.component.Component component,
                                                             org.mule.runtime.api.metadata.TypedValue<A> attributes)
      • getStartTraceComponent

        public TraceComponent getStartTraceComponent​(org.mule.runtime.api.component.Component component,
                                                     org.mule.runtime.api.message.Message message,
                                                     String correlationId)
        Create a start trace component without the notification object. This is mostly consumed by interceptors.
        Specified by:
        getStartTraceComponent in interface ProcessorComponent
        Parameters:
        component - Component
        message - Message
        correlationId - String
        Returns:
        TraceComponent
      • getSourceComponent

        protected Optional<org.mule.runtime.api.component.Component> getSourceComponent​(org.mule.runtime.api.notification.EnrichedServerNotification notification)