rabbitmq-tutorials/haskell
2013-10-15 01:50:28 +04:00
..
emitLog.hs Port tutorial 3 to Haskell 2013-10-14 23:17:18 +04:00
emitLogDirect.hs Port tutorial 4 to Haskell 2013-10-15 01:45:05 +04:00
emitLogTopic.hs Port tutorial 5 to Haskell 2013-10-15 01:49:45 +04:00
newTask.hs No need to declare a queue here 2013-10-14 23:17:11 +04:00
README.md Link to Network.AMQP 2013-10-15 01:50:28 +04:00
receive.hs Use auto-delete on queue.declare, not passive 2013-10-06 22:48:17 +04:00
receiveLogs.hs Formatting 2013-10-14 23:42:53 +04:00
receiveLogsDirect.hs Port tutorial 4 to Haskell 2013-10-15 01:45:05 +04:00
receiveLogsTopic.hs Port tutorial 5 to Haskell 2013-10-15 01:49:45 +04:00
send.hs Use auto-delete on queue.declare, not passive 2013-10-06 22:48:17 +04:00
worker.hs Enable manual acknowledgement mode 2013-10-08 22:30:43 +04:00

Haskell code for RabbitMQ tutorials

Here you can find Haskell code examples from RabbitMQ tutorials.

Requirements

To run this code you need Network.AMQP.

Code

Code examples are executed via runhaskell:

Tutorial one: "Hello World!":

runhaskell send.hs
runhaskell receive.hs

Tutorial two: Work Queues:

runhaskell newTask.hs
runhaskell worker.hs

Tutorial three: Publish/Subscribe

runhaskell receiveLogs.hs
runhaskell emitLog.hs

Tutorial four: Routing

runhaskell receiveLogsDirect.hs
runhaskell emitLogDirect.hs

Tutorial five: Topics

runhaskell receiveLogsTopic.hs
runhaskell emitLogTopic.hs

Tutorial six: RPC

TBD

To learn more, see Network.AMQP.