Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created October 18, 2011 00:50
Show Gist options
  • Save ddossot/1294350 to your computer and use it in GitHub Desktop.
Save ddossot/1294350 to your computer and use it in GitHub Desktop.
push-mule-config
<?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:http="http://www.mulesoft.org/schema/mule/http"
xmlns:pubsubhubbub="http://www.mulesoft.org/schema/mule/pubsubhubbub"
xmlns:mos="http://www.mulesoft.org/schema/mule/mongo-object-store"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.2/mule.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.2/mule-http.xsd
http://www.mulesoft.org/schema/mule/pubsubhubbub http://www.mulesoft.org/schema/mule/pubsubhubbub/3.2/mule-pubsubhubbub.xsd
http://www.mulesoft.org/schema/mule/mongo-object-store http://www.mulesoft.org/schema/mule/mongo-object-store/2.0/mule-mongo-object-store.xsd">
<mos:config name="hubObjectStore"
host="staff.mongohq.com"
port="10032"
database="mule-push"
writeConcern="SAFE"
username="${mulepush.username}"
password="${mulepush.password}" />
<pubsubhubbub:config objectStore-ref="hubObjectStore" />
<flow name="hub">
<http:inbound-endpoint address="http://localhost:${http.port}/hub" />
<pubsubhubbub:hub />
</flow>
</mule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment