Skip to content

Instantly share code, notes, and snippets.

@zygm0nt
Created March 31, 2011 20:04
Show Gist options
  • Save zygm0nt/897141 to your computer and use it in GitHub Desktop.
Save zygm0nt/897141 to your computer and use it in GitHub Desktop.
advisory messages in ActiveMQ
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry queue="my/test/queue" advisoryForDelivery="true" advisoryForConsumed="true"/>
<policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb">
<pendingSubscriberPolicy>
<vmCursor />
</pendingSubscriberPolicy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment