Sha256: d99100e1c6ae0f2b2a8b6e2b90ee88dcbc3c9336e52cf1b38aeb2869d18d4519

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

# Carrot

A synchronous amqp client. Based on Aman's amqp client:

http://github.com/tmm1/amqp/tree/master

## Example 

q = Carrot.queue('name', :durable => true, :host => 'q1.rabbitmq.com')
100.times do
  q.publish('foo')
end

pp :count, q.message_count

while msg = q.pop(:ack => true)
  puts msg
  q.ack
end
Carrot.stop

# LICENSE

Copyright (c) 2009 Amos Elliston, Geni.com; Published under The MIT License, see License

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
famoseagle-carrot-0.1.0 README.markdown
famoseagle-carrot-0.2.0 README.markdown