public
Description: AMQP client implementation in Ruby/EventMachine
Homepage: http://groups.google.com/group/ruby-amqp
Clone URL: git://github.com/tmm1/amqp.git
tmm1 (author)
Tue Oct 27 14:57:53 -0700 2009
commit  abef873a778dc73ae9dc410199eb3422e5f8029f
tree    ab0156ceb567c626f8baea7ccfc6f9fb10d72de6
parent  f371c726635af8bb21cdb9819c59aa17d3fc1d3a
amqp / amqp.todo
100644 32 lines (26 sloc) 1.174 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
- breaks with header values that are nil
- breaks with header values that are ruby objects (convert to strings?)
- sending utf8 data in 1.9 breaks
 
- generate amqp/spec.rb from original xml spec
- add peek and pop to queues
- use rabbitmq generated consumer tag from basic.consume-ok reply
 
- allow temporary queues with amq.queue(nil) syntax (use uuids)
  - use as temp queue in rpc
  - use uuids for message ids in rpc
 
- add ack/completed responses for messages
- deleting queues/bindings/exchanges
  + queue.unbind
  - queue.remove or queue.close or queue.delete
  - exchange.remove
  - rpc.remove
 
- handle errors and exceptions
    binding to a non-existent (or not yet created in clock.rb) exchange
      #<AMQP::Protocol::Channel::Close:0x11d35d4
       @class_id=50,
       @debug=1,
       @method_id=20,
       @reply_code=404,
       @reply_text="NOT_FOUND - no exchange 'clock' in vhost '/'">>]
 
- handle connection.redirect during connect (for rabbitmq in distributed mode) [or just set insist to true]
 
- add amq.queue('name').size{ |num| "#{num} messages in the queue" } (send declare passive, look at declare-ok response)
- clean up MQ.default on disconnect