Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created October 4, 2011 00:29
Show Gist options
  • Save ddossot/1260622 to your computer and use it in GitHub Desktop.
Save ddossot/1260622 to your computer and use it in GitHub Desktop.
Mule Redis PubSub
<!-- Publish the current message's payload
to the news.art.figurative channel -->
<redis:publish channel="news.art.figurative" />
<!-- Subscribe to art channels, and some good sport too :) -->
<redis:subscribe>
<redis:channels>
<redis:channel>news.art.*</redis:channel>
<redis:channel>news.sport.hockey</redis:channel>
</redis:channels>
</redis:subscribe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment