public abstract class AbstractNotificationLoggerAgent extends AbstractAgent
AbstractNotificationLoggerAgent Receives Mule server notifications and logs them and can optionally route them to
an endpoint. This agent will only receive notifications for notification events that are enabled. The notifications that are
enabled are determined by the MuleContextBuilder that is used or configuration mechanisms that may override these
values.| Modifier and Type | Field and Description |
|---|---|
protected Set<ServerNotificationListener<? extends ServerNotification>> |
listeners |
protected org.slf4j.Logger |
logger
The logger used for this class
|
muleContext, name| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNotificationLoggerAgent(String name) |
getDescription, getName, setMuleContext, setName, unregisterMeQuietlyprotected transient org.slf4j.Logger logger
protected Set<ServerNotificationListener<? extends ServerNotification>> listeners
protected AbstractNotificationLoggerAgent(String name)
public void start()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void dispose()
public boolean isIgnoreManagerNotifications()
public void setIgnoreManagerNotifications(boolean ignoreManagerNotifications)
public boolean isIgnoreMessageNotifications()
public void setIgnoreMessageNotifications(boolean ignoreMessageNotifications)
public boolean isIgnoreSecurityNotifications()
public void setIgnoreSecurityNotifications(boolean ignoreSecurityNotifications)
public boolean isIgnoreManagementNotifications()
public void setIgnoreManagementNotifications(boolean ignoreManagementNotifications)
public boolean isIgnoreCustomNotifications()
public void setIgnoreCustomNotifications(boolean ignoreCustomNotifications)
public boolean isIgnoreAdminNotifications()
public void setIgnoreAdminNotifications(boolean ignoreAdminNotifications)
public boolean isIgnoreConnectionNotifications()
public void setIgnoreConnectionNotifications(boolean ignoreConnectionNotifications)
public boolean isIgnoreComponentMessageNotifications()
public void setIgnoreComponentMessageNotifications(boolean ignoreComponentMessageNotifications)
public boolean isIgnoreMessageProcessorNotifications()
public void setIgnoreMessageProcessorNotifications(boolean ignoreMessageProcessorNotifications)
public final void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionprotected abstract void doInitialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionprotected abstract void logEvent(ServerNotification e)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.