@@ -0,0 +1,1737 @@
+package fr.sii.notification.sample.standard.sms;%0A%0Aimport java.util.Properties;%0A%0Aimport fr.sii.notification.core.builder.NotificationBuilder;%0Aimport fr.sii.notification.core.exception.NotificationException;%0Aimport fr.sii.notification.core.service.NotificationService;%0Aimport fr.sii.notification.sms.message.Sms;%0A%0Apublic class LongMessageSample %7B%0A%0A%09public static void main(String%5B%5D args) throws NotificationException %7B%0A%09%09// configure properties (could be stored in a properties file or defined%0A%09%09// in System properties)%0A%09%09Properties properties = new Properties();%0A%09%09properties.setProperty(%22notification.sms.smpp.host%22, %22%3Cyour server host%3E%22);%0A%09%09properties.setProperty(%22notification.sms.smpp.port%22, %22%3Cyour server port%3E%22);%0A%09%09properties.setProperty(%22notification.sms.smpp.systemId%22, %22%3Cyour server system ID%3E%22);%0A%09%09properties.setProperty(%22notification.sms.smpp.password%22, %22%3Cyour server password%3E%22);%0A%09%09properties.setProperty(%22notification.sms.from%22, %22%3Cphone number to display for the sender%3E%22);%0A%09%09// Instantiate the notification service using default behavior and%0A%09%09// provided properties%0A%09%09NotificationService service = new NotificationBuilder().useAllDefaults(properties).build();%0A%09%09// send the sms%0A%09%09String longMessage = %22Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.%22;%0A%09%09service.send(new Sms(longMessage, %22%3Crecipient phone number%3E%22));%0A%09%7D%0A%0A%7D%0A

Update samples