Skip to content

Instantly share code, notes, and snippets.

@jbrisbin
Created October 7, 2014 17:44
Show Gist options
  • Save jbrisbin/b52afafd326fbf838174 to your computer and use it in GitHub Desktop.
Save jbrisbin/b52afafd326fbf838174 to your computer and use it in GitHub Desktop.
Teaser of AmqpStreams
def stream1 = AmqpStreams.fromQueue(Queue.lookup('test')
.durable(true)
.bind('test'))
def stream2 = AmqpStreams.fromQueue('test')
Streams.merge(stream1, stream2)
.dispatchOn(environment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment