Package org.springframework.integration.smpp.core

Examples of org.springframework.integration.smpp.core.SmesMessageSpecification.send()


      SmesMessageSpecification specification = applyDefaultsIfNecessary(
          SmesMessageSpecification.fromMessage(this.smppSession, message)
              .setTimeFormatter(this.timeFormatter));

      List<String> smsMessageId = specification.send();
      logger.debug( "sent message : "+message.getPayload());
      logger.debug("message ID(s) for the sent message: " + smsMessageId);
    } catch (Exception e) {
      throw new RuntimeException("Exception in trying to process the inbound SMPP message", e);
    }
View Full Code Here


      SmesMessageSpecification specification = applyDefaultsIfNecessary(
          SmesMessageSpecification.fromMessage(this.smppSession, requestMessage)
              .setTimeFormatter(this.timeFormatter));

      List<String> smsMessageId = specification.send();

      logger.debug("message ID(s) for the sent message: " + smsMessageId);

      return MessageBuilder.withPayload(smsMessageId).build();
    } catch (Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.