Sha256: 05f1226ad7fd4c3ef6529620c68e393f9d01d1895cebae37fcfc77801f7b276d

Contents?: true

Size: 524 Bytes

Versions: 4

Compression:

Stored size: 524 Bytes

Contents

# Carrot

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

[http://github.com/tmm1/amqp/tree/master] (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

4 entries across 4 versions & 1 rubygems

Version Path
famoseagle-carrot-0.3.0 README.markdown
famoseagle-carrot-0.4.0 README.markdown
famoseagle-carrot-0.5.0 README.markdown
famoseagle-carrot-0.6.0 README.markdown