All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io._57blocks.sms.DummySmsService Maven / Gradle / Ivy

Go to download

sms-spring-boot provide a convenient approach to integrate sms service by pre-defined configuration. It supports templating with resource bundle.

There is a newer version: 0.1.2
Show newest version
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