Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created February 28, 2012 17:43
Show Gist options
  • Save johndemic/1933907 to your computer and use it in GitHub Desktop.
Save johndemic/1933907 to your computer and use it in GitHub Desktop.
Configuring a flow to use up to 500 threads to asynchronous process messages arriving a VM inbound-endpoint.
<queued-asynchronous-processing-strategy name="allow500Threads" maxThreads="500"/>
<flow name="acceptOrders" processingStrategy="allow500Threads">
<vm:inbound-endpoint path="acceptOrders" exchange-pattern="one-way"/>
<vm:outbound-endpoint path="commonProcessing" exchange-pattern="one-way"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment