[rabbitmq-discuss] RabbitMQ-shovel
Matthew Sackman
matthew at lshift.net
Mon Mar 8 11:46:13 GMT 2010
On Mon, Feb 01, 2010 at 10:56:48AM +0000, Matthew Sackman wrote:
> Several people have recently been asking about a shovel for Rabbit,
> which can consume messages from one consumer and deliver them to
> another.
Just to let you all know, the changes that this plugin required to the
server have been merged into default and from there to the new persister
so you can now use the shovel straight off the default branch or new
persister branch of the server.
For those of you theoretically inclined, note that you can use the
shovel to create cycles, and even duplication of messages. This could be
used for iteration (think ! in π-calculus or actually maybe just
restriction). This alone doesn't make it turning complete. The challenge
is to come up with the minimum pluggable exchange type and an encoding
of instructions as messages to represent instructions such that you can
demonstrate Turing-completeness. λ, TM, π or SKI are all equally valid.
Then, in your encoding, send messages in, which represent the
instructions for factorial. Then send further messages in (peano
encoding) being the argument, and on another queue should appear the
result. Prizes will be awarded for the most elegant and concise
solution.
Matthew
More information about the rabbitmq-discuss
mailing list