Class TestSourceInterceptor
- java.lang.Object
-
- com.avioconsulting.mule.opentelemetry.internal.interceptor.TestSourceInterceptor
-
- All Implemented Interfaces:
org.mule.runtime.api.interception.SourceInterceptor
public class TestSourceInterceptor extends Object implements org.mule.runtime.api.interception.SourceInterceptor
Doesn't let you modify the event before sending to flow but can let you modify event before flow response is sent. Could help in return the trace context
-
-
Constructor Summary
Constructors Constructor Description TestSourceInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCallback(org.mule.runtime.api.component.location.ComponentLocation location, org.mule.runtime.api.interception.InterceptionEvent event, Optional<Throwable> thrown)voidbeforeCallback(org.mule.runtime.api.component.location.ComponentLocation location, Map<String,org.mule.runtime.api.interception.ProcessorParameterValue> parameters, org.mule.runtime.api.interception.InterceptionEvent event)
-
-
-
Method Detail
-
beforeCallback
public void beforeCallback(org.mule.runtime.api.component.location.ComponentLocation location, Map<String,org.mule.runtime.api.interception.ProcessorParameterValue> parameters, org.mule.runtime.api.interception.InterceptionEvent event)- Specified by:
beforeCallbackin interfaceorg.mule.runtime.api.interception.SourceInterceptor
-
-