public class DummyUnavailableEngine extends DummyEngine
messageScheduler, modelService, phoneNumberService, STARTUP_DELAY_PARAMETER| Constructor and Description |
|---|
DummyUnavailableEngine() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAvailable(AggregatorSettingsDTO settings)
Tells if the engine currently accepts messages or not.
|
getStartupDelaySeconds, sendgetEngineId, setBeanName, setMessageScheduler, setModelService, setPhoneNumberService, shutdown, startup, updateAggregatorspublic boolean isAvailable(AggregatorSettingsDTO settings)
SMSEnginefalse to signal temporary
unavailability.
If there is a general (e.g. configuration) problem this should rather be
causing a exception in SMSEngine.send(AggregatorSettingsDTO, OutgoingSMSMessageDTO) instead.isAvailable in interface SMSEngineisAvailable in class DummyEnginesettings - the settings of the specific aggregator to checkCopyright © 2018 SAP SE. All Rights Reserved.