]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Removed direct access to MessagingServer
authorAlexei Kornienko <alexei.kornienko@gmail.com>
Thu, 31 Jul 2014 19:08:54 +0000 (22:08 +0300)
committermark mcclain <mmcclain@yahoo-inc.com>
Mon, 8 Sep 2014 16:13:53 +0000 (16:13 +0000)
commit185f09b7c46edcbb1d39d3b79993fa8c07dafc2c
treef3dd995c1115289f2e23ac21387eece3e2a2c559
parentbdd4a7c018a267335c6b3206696a9aa4c0deeacf
Removed direct access to MessagingServer

Factory method provided by the library should be used to create a server
object. This allows to change servers internal implementation without
touching end users.

Also removed custom dispatcher. Its only purpose was to log messages.
If logging is configured accordingly all incoming messages will be
logged from oslo/messaging/_drivers/amqpdriver.py [1]

[1] http://goo.gl/nV9tcu

Closes-Bug: #1357236

Change-Id: Ic208994c5a64fd48528cb41d30a975d68d84af05
neutron/common/rpc.py