Created
February 4, 2010 16:26
-
-
Save jjungnickel/294830 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Integer userId = transportConfiguration.getInteger("userId"); | |
String responseText = transportConfiguration.getString("responseText"); | |
SmsMessage originalMessage = job.getSmsMessage(); | |
SmsMessage autoResponse = originalMessage.reply(); | |
autoResponse.setUserId(userId); | |
autoResponse.setMessage(responseText); | |
jmsTemplate.send("input", new StandardSmsMessageCreator(autoResponse, new TransportProperties())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment