public class OnErrorCheckLogHandler extends TemplateOnErrorHandler implements MessagingExceptionHandlerAcceptor, FlowAssertion
errorType, errorTypeMatcher, flowLocation, handleException, locator, whenlogException, logger, NOT_SET, notificationFirer, statisticsmuleContext| Constructor and Description |
|---|
OnErrorCheckLogHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsAll() |
protected void |
doLogException(String message,
Throwable t) |
TemplateOnErrorHandler |
duplicateFor(org.mule.runtime.api.component.location.Location buildFor) |
List<LogChecker> |
getCheckers() |
protected Function<CoreEvent,org.reactivestreams.Publisher<CoreEvent>> |
route(Exception exception) |
void |
setCheckers(List<LogChecker> logCheckers) |
void |
setPropagate(boolean propagate) |
void |
setSucceedIfNoLog(boolean succeedIfNoLog) |
void |
start() |
void |
verify() |
accept, afterRouting, apply, beforeRouting, createErrorType, createErrorType, doInitialise, getOwnedMessageProcessors, handleException, logException, markExceptionAsHandled, nullifyExceptionPayloadIfRequired, processReplyTo, setErrorType, setFlowLocation, setHandleException, setMessageProcessors, setRootContainerName, setWhencommit, fireNotification, fireNotification, getMessageProcessors, initialise, isEnableNotifications, isInitialised, logFatal, resolveAndLogException, resolveExceptionAndMessageToLog, rollback, setEnableNotifications, setLogException, setNotificationFirer, setStatisticsgetOwnedObjectsdispose, getMuleContext, setMuleContext, stopgetAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, handleExceptionsetMuleContextpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startablestart in class AbstractMuleObjectOwner<Processor>org.mule.runtime.api.exception.MuleExceptionprotected Function<CoreEvent,org.reactivestreams.Publisher<CoreEvent>> route(Exception exception)
route in class TemplateOnErrorHandlerpublic TemplateOnErrorHandler duplicateFor(org.mule.runtime.api.component.location.Location buildFor)
duplicateFor in class TemplateOnErrorHandlerprotected void doLogException(String message, Throwable t)
doLogException in class AbstractExceptionListenerpublic void verify()
verify in interface FlowAssertionpublic boolean acceptsAll()
acceptsAll in interface Acceptorpublic void setCheckers(List<LogChecker> logCheckers)
public List<LogChecker> getCheckers()
public void setPropagate(boolean propagate)
public void setSucceedIfNoLog(boolean succeedIfNoLog)
Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.