Guest User

Untitled

a guest
Mar 2nd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. <mule xmlns="http://www.mulesoft.org/schema/mule/core"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns:spring="http://www.springframework.org/schema/beans"
  4. xmlns:xmpp="http://www.mulesoft.org/schema/mule/xmpp"
  5. xmlns:stdio="http://www.mulesoft.org/schema/mule/stdio"
  6. xsi:schemaLocation="
  7. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
  8. http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
  9. http://www.mulesoft.org/schema/mule/xmpp http://www.mulesoft.org/schema/mule/xmpp/current/mule-xmpp.xsd
  10. http://www.mulesoft.org/schema/mule/stdio http://www.mulesoft.org/schema/mule/stdio/current/mule-stdio.xsd">
  11.  
  12. <xmpp:connector name="xmppConnector" host="localhost" user="theUser" password="secret"/>
  13.  
  14. <flow name="stdio2xmpp">
  15. <stdio:inbound-endpoint system="IN"/>
  16. <xmpp:outbound-endpoint type="CHAT" recipient="otheruser@localhost"/>
  17. </flow>
  18.  
  19. <flow name="xmpp2stdio">
  20. <xmpp:inbound-endpoint type="CHAT" from="otheruser@localhost"/>
  21. <xmpp:xmpp-to-object-transformer/>
  22. <stdio:outbound-endpoint system="OUT"/>
  23. </flow>
Add Comment
Please, Sign In to add comment