~0x44/nova/gitbzr_test_branch

« back to all changes in this revision

Viewing changes to nova/rpc.py

  • Committer: Vishvananda Ishaya
  • Date: 2010-08-04 23:51:48 UTC
  • mto: This revision was merged to the branch mainline in revision 210.
  • Revision ID: vishvananda@gmail.com-20100804235148-mgmbw3lcqikk9xgg
fix rpc command line call, remove useless deferreds

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
                                      exchange=msg_id,
239
239
                                      auto_delete=True,
240
240
                                      exchange_type="direct",
241
 
                                      routing_key=msg_id,
242
 
                                      durable=False)
 
241
                                      routing_key=msg_id)
243
242
        consumer.register_callback(generic_response)
244
243
 
245
244
    publisher = messaging.Publisher(connection=Connection.instance(),
246
245
                                    exchange=FLAGS.control_exchange,
 
246
                                    durable=False,
247
247
                                    exchange_type="topic",
248
248
                                    routing_key=topic)
249
249
    publisher.send(message)