public class EventContextRecordErrorCommand extends AbstractFailsafeSpanVoidCommand
VoidCommand that records an error
The carrier is the EventContext| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
| Constructor and Description |
|---|
EventContextRecordErrorCommand(org.mule.runtime.api.event.EventContext eventContext,
Supplier<org.mule.runtime.api.message.Error> spanErrorSupplier,
boolean isErrorEscapingCurrentSpan,
FlowCallStack flowCallStack) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getErrorMessage() |
static VoidCommand |
getEventContextRecordErrorCommand(org.mule.runtime.api.event.EventContext eventContext,
Supplier<org.mule.runtime.api.message.Error> spanErrorSupplier,
boolean isErrorEscapingCurrentSpan,
FlowCallStack flowCallStack) |
protected Runnable |
getRunnable() |
executepublic static final String ERROR_MESSAGE
public EventContextRecordErrorCommand(org.mule.runtime.api.event.EventContext eventContext,
Supplier<org.mule.runtime.api.message.Error> spanErrorSupplier,
boolean isErrorEscapingCurrentSpan,
FlowCallStack flowCallStack)
public static VoidCommand getEventContextRecordErrorCommand(org.mule.runtime.api.event.EventContext eventContext, Supplier<org.mule.runtime.api.message.Error> spanErrorSupplier, boolean isErrorEscapingCurrentSpan, FlowCallStack flowCallStack)
protected Runnable getRunnable()
getRunnable in class AbstractFailsafeSpanVoidCommandprotected String getErrorMessage()
getErrorMessage in class AbstractFailsafeSpanVoidCommandCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.