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
<twilio:config accountSid="yourTwilioAccountSid" authToken="yourTwilioAuthToken"/> | |
<mongo:config database="yourDatabase" host="yourHost" port="yourPort" name="yourName" password="yourPassword"/> | |
<flow name="sendSmsToClients"> | |
<http:inbound-endpoint host="localhost" port="9090" path="send-sms"/> | |
<mongo:find-objects collection="clients"/> | |
<collection-splitter/> | |
<twilio:send-sms-message accountSid="yourTwilioAccountSid" | |
from="yourTwilioPhoneNumber" |
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
<twilio:config name="twilio-default" accountSid="${twilio.account.sid}" authToken="${twilio.auth.token}"/> | |
<mongo:config database="yourDatabase" host="yourHost" port="yourPort" name="yourName" password="yourPassword"/> |
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
<flow name="sendSmsToClients"> | |
<http:inbound-endpoint host="localhost" port="9090" path="send-sms"/> | |
<mongo:find-objects collection="clients"/> | |
<collection-splitter/> | |
<twilio:send-sms-message accountSid="yourTwilioAccountSid" | |
from="yourTwilioPhoneNumber" | |
to="#[map-payload:phone]" | |
body="Hi #[map-payload:name]! We are happy to announce we released … check our website …. "/> | |
</flow> |
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
<mongo:find-objects collection="clients" /> |
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
<collection-splitter/> |
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
<collection-splitter/> |
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
<twilio:send-sms-message accountSid="yourTwilioAccountSid" | |
from="yourTwilioPhoneNumber" | |
to="#[map-payload:phone]" | |
body="Hi #[map-payload:name]! We are happy to announce we released … check our website …. "/> |
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
<dependency> | |
<groupId>org.mule.modules</groupId> | |
<artifactId>mule-module-twilio</artifactId> | |
<version>1.0</version> | |
</dependency> |
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
<mule xmlns="http://www.mulesoft.org/schema/mule/core" | |
xmlns:twilio="http://www.mulesoft.org/schema/mule/twilio" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://www.mulesoft.org/schema/mule/twilio http://www.mulesoft.org/schema/mule/twilio/1.0/mule-twilio.xsd" | |
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd | |
"> |
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
<repositories> | |
<repository> | |
<id>mulesoft-releases</id> | |
<name>MuleSoft Releases Repository</name> | |
<url>http://repository.mulesoft.org/releases/</url> | |
<layout>default</layout> | |
</repsitory> | |
</repositories> |
OlderNewer