Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created June 11, 2010 16:26
Show Gist options
  • Save ddossot/434713 to your computer and use it in GitHub Desktop.
Save ddossot/434713 to your computer and use it in GitHub Desktop.
<vm:connector name="vmConnector">
<vm:queue-profile persistent="true" maxOutstandingMessages="10000" />
</vm:connector>
...
<service name="persistent-load-throttler-in">
<inbound>
<http:inbound-endpoint address="http://localhost:9500/throttler" synchronous="false" />
</inbound>
<outbound>
<pass-through-router>
<vm:outbound-endpoint path="throttler.queue" synchronous="false" />
</pass-through-router>
</outbound>
</service>
<service name="persistent-load-throttler-out">
<inbound>
<vm:inbound-endpoint path="throttler.queue" synchronous="false" />
</inbound>
<outbound>
<pass-through-router>
<http:outbound-endpoint address="http://localhost:9600/application" synchronous="false" />
</pass-through-router>
</outbound>
</service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment