Sending an sms message is essentially a write. You'd have your reader read every record and your writer would make a decision about what to do with the record (e.g. if it passes some criteria, send the sms message):
Originally Posted by sama167
The framework doesn't really care if your writer actually writes something for every record it reads; however, it WILL invoke your writer for every record.
public class SmsWriter implements ItemWriter
public void write(Object o) throws Exception