Skip to content

Instantly share code, notes, and snippets.

@rossmason
Forked from ddossot/gist:1294350
Created November 3, 2011 07:13
Show Gist options
  • Save rossmason/1335965 to your computer and use it in GitHub Desktop.
Save rossmason/1335965 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/current/mule.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/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