public enum NoOpMessageMonitorCallback extends Enum<NoOpMessageMonitorCallback> implements MessageMonitor.MonitorCallback
| Enum Constant and Description | 
|---|
| INSTANCESingleton instance of a  NoOpMessageMonitorCallback. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | reportFailure(Throwable cause)Notify the monitor that a failure occurred during processing of the message | 
| void | reportIgnored()Notify the monitor that the message was ignored | 
| void | reportSuccess()Notify the monitor that the message was handled successfully | 
| static NoOpMessageMonitorCallback | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NoOpMessageMonitorCallback[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final NoOpMessageMonitorCallback INSTANCE
NoOpMessageMonitorCallback.public static NoOpMessageMonitorCallback[] values()
for (NoOpMessageMonitorCallback c : NoOpMessageMonitorCallback.values()) System.out.println(c);
public static NoOpMessageMonitorCallback valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void reportSuccess()
MessageMonitor.MonitorCallbackreportSuccess in interface MessageMonitor.MonitorCallbackpublic void reportFailure(Throwable cause)
MessageMonitor.MonitorCallbackreportFailure in interface MessageMonitor.MonitorCallbackcause - or null if unknownpublic void reportIgnored()
MessageMonitor.MonitorCallbackreportIgnored in interface MessageMonitor.MonitorCallbackCopyright © 2010–2025. All rights reserved.