Skip to content

Instantly share code, notes, and snippets.

@steppat
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steppat/bf2289e9c7f8f0ff5421 to your computer and use it in GitHub Desktop.
Save steppat/bf2289e9c7f8f0ff5421 to your computer and use it in GitHub Desktop.
exemplo composite queues com ActiveMQ
<!-- adicione abaixo do elemento broker -->
<destinationInterceptors>
<virtualDestinationInterceptor>
<virtualDestinations>
<compositeQueue name="COMP.PEDIDOS">
<forwardTo>
<filteredDestination selector="formato = 'ebook'" queue="COMP.GERADOR"/>
<queue physicalName="COMP.FINANCEIRO" />
<topic physicalName="COMP.NOTIFICACOES" />
</forwardTo>
</compositeQueue>
</virtualDestinations>
</virtualDestinationInterceptor>
</destinationInterceptors>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment