public class OnErrorCheckLogHandler
extends org.mule.runtime.core.privileged.exception.TemplateOnErrorHandler
implements org.mule.runtime.core.privileged.exception.MessagingExceptionHandlerAcceptor, org.mule.tck.processor.FlowAssertion
errorType, errorTypeMatcher, locator, when
logException, logger, NOT_SET, notificationFirer, statistics
muleContext
LOCATION_KEY, ROOT_CONTAINER_NAME_KEY
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
ANNOTATIONS_PROPERTY_NAME
Constructor and Description |
---|
OnErrorCheckLogHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsAll() |
protected void |
doLogException(String message,
Throwable t) |
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, doInitialise, getOwnedMessageProcessors, handleException, logException, markExceptionAsHandled, nullifyExceptionPayloadIfRequired, processReplyTo, setErrorType, setHandleException, setMessageProcessors, setRootContainerName, setWhen
commit, fireNotification, fireNotification, getMessageProcessors, initialise, isEnableNotifications, isInitialised, logFatal, resolveAndLogException, resolveExceptionAndMessageToLog, rollback, setEnableNotifications, setLogException, setNotificationFirer, setStatistics
getOwnedObjects
dispose, getMuleContext, setMuleContext, stop
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, handleException
dispose
setMuleContext
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotations
public void start() throws MuleException
start
in interface Startable
start
in class AbstractMuleObjectOwner<Processor>
MuleException
protected Function<CoreEvent,org.reactivestreams.Publisher<CoreEvent>> route(Exception exception)
route
in class org.mule.runtime.core.privileged.exception.TemplateOnErrorHandler
protected void doLogException(String message, Throwable t)
doLogException
in class org.mule.runtime.core.privileged.exception.AbstractExceptionListener
public void verify()
verify
in interface org.mule.tck.processor.FlowAssertion
public boolean acceptsAll()
acceptsAll
in interface org.mule.runtime.core.privileged.event.Acceptor
public void setCheckers(List<LogChecker> logCheckers)
public List<LogChecker> getCheckers()
public void setPropagate(boolean propagate)
public void setSucceedIfNoLog(boolean succeedIfNoLog)
Copyright © 2018. All rights reserved.