Skip to content

Instantly share code, notes, and snippets.

@federecio
Created December 4, 2011 14:23
Show Gist options
  • Save federecio/1430313 to your computer and use it in GitHub Desktop.
Save federecio/1430313 to your computer and use it in GitHub Desktop.
<flow name="sendSmsMessage">
<vm:inbound-endpoint address="vm://sendSms" />
<twilio:send-sms-message from="${from.number}"
to="#[map-payload:to]"
body="#[map-payload:body]"
status-callback-flow-ref="callbackFlow" />
</flow>
<flow name="callbackFlow">
<logger message="Callback received: #[payload]" />
<!-- handle the callback -->
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment