Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created January 13, 2011 03:22
Show Gist options
  • Save johndemic/777336 to your computer and use it in GitHub Desktop.
Save johndemic/777336 to your computer and use it in GitHub Desktop.
<?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:mongodb="http://www.mulesoft.org/schema/mule/mongodb"
xmlns:stdio="http://www.mulesoft.org/schema/mule/stdio"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd
http://www.mulesoft.org/schema/mule/mongodb http://www.mulesoft.org/schema/mule/mongodb/3.1/mule-mongodb.xsd
http://www.mulesoft.org/schema/mule/stdio http://www.mulesoft.org/schema/mule/stdio/3.1/mule-stdio.xsd
">
<mongodb:connector name="mongodbConnector"
database="mule-mongodb"
username="user"
password="pass"
pollingFrequency="1000"
hostname="localhost"/>
<flow name="Input Output">
<stdio:inbound-endpoint system="IN"/>
<mongodb:outbound-endpoint collection="stdio"/>
<stdio:outbound-endpoint system="OUT"/>
</flow>
</mule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment