Created
September 30, 2010 08:58
-
-
Save nurkiewicz/604253 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
<?xml version="1.0" encoding="UTF-8"?> | |
<mule xmlns="http://www.mulesoft.org/schema/mule/core" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:spring="http://www.springframework.org/schema/beans" | |
xmlns:xmpp="http://www.mulesoft.org/schema/mule/xmpp" | |
xsi:schemaLocation=" | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | |
http://www.mulesoft.org/schema/mule/core http://www.mulesource.org/schema/mule/core/3.0/mule.xsd | |
http://www.mulesoft.org/schema/mule/xmpp http://www.mulesource.org/schema/mule/xmpp/3.0/mule-xmpp.xsd | |
"> | |
<xmpp:connector | |
name="XmppConnector" | |
host="talk.google.com" | |
port="5222" | |
user="example@gmail.com" | |
password="[SECRET]"/> | |
<model> | |
<service name="service"> | |
<inbound> | |
<xmpp:inbound-endpoint connector-ref="XmppConnector" from="example@gmail.com" type="CHAT"/> | |
</inbound> | |
<outbound> | |
<pass-through-router> | |
<xmpp:outbound-endpoint connector-ref="XmppConnector" recipient="example2@gmail.com"/> | |
</pass-through-router> | |
</outbound> | |
</service> | |
</model> | |
</mule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment