@Component @Profile(value="dev") public class MockDispatcher extends AbstractNotificationDispatcher<String>
| Constructor and Description |
|---|
MockDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
NotificationMode |
getMode() |
protected void |
performAction(String message) |
protected String |
prepareAction(Subscription subscription,
Event... events) |
protected String |
prepareAction(Subscription subscription,
Map<String,Object> params) |
count, countErrors, getDispatcherName, init, lastError, resetCount, run, sendNotification, sendNotification, setBeanName, setDispatcherNameprotected String prepareAction(Subscription subscription, Event... events) throws Exception
prepareAction in class AbstractNotificationDispatcher<String>Exceptionprotected String prepareAction(Subscription subscription, Map<String,Object> params) throws Exception
prepareAction in class AbstractNotificationDispatcher<String>Exceptionprotected void performAction(String message) throws Exception
performAction in class AbstractNotificationDispatcher<String>Exceptionpublic NotificationMode getMode()
Copyright © 2025. All rights reserved.