
io._57blocks.sms.DummySmsService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sms-spring-boot-starter Show documentation
Show all versions of sms-spring-boot-starter Show documentation
sms-spring-boot provide a convenient approach to integrate sms service by pre-defined
configuration. It supports templating with resource bundle.
package io._57blocks.sms;
import java.util.Locale;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class DummySmsService implements SmsService {
@Override
public Object send(String from, String to, String template, Locale locale, Object[] args) {
log.warn("############# Dummy SMS Service, No Message Sent #############");
log.info("SMS template: {}, locale: {}, from: {}, to: {}, args:{}", template, locale, from, to,
args);
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy