<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
You can use <i>oslo.messaging._drivers.impl_rabbit</i> instead of
impl_kombu<br>
It was renamed and slightly change but I think it will work as you
expect.<br>
<br>
Regards,<br>
Alexei Kornienko<br>
<br>
On 07/03/2014 08:47 PM, Nader Lahouti wrote:<br>
</div>
<blockquote
cite="mid:CAF5T5jsW=UFZU1_EoF6QsSzWfuJhs0pu7rrL_QBs2nSp3k+7Ew@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All and Ihar,
<div><br>
</div>
<div style="">As part of blueprint oslo-messaging the
neutron/openstack/common/rpc tree is removed. I was using
impl_kombu module to process notification from keystone with
this following code sample:</div>
<div style="">...</div>
<div style="">
<div><font face="courier new, monospace">from
neutron.openstack.common.rpc import impl_kombu</font></div>
<div><font face="courier new, monospace"> try:<br>
</font></div>
</div>
<div style="">
<div><font face="courier new, monospace"> conf =
impl_kombu.cfg.CONF</font></div>
<div><font face="courier new, monospace"> topicname
= self._topic_name</font></div>
<div><font face="courier new, monospace"> exchange
= self._exchange_name</font></div>
<div><font face="courier new, monospace">
connection = impl_kombu.Connection(conf)</font></div>
<div><font face="courier new, monospace">
connection.declare_topic_consumer(topic,</font></div>
<div><font face="courier new, monospace">
self.callback, </font></div>
<div><font face="courier new, monospace">
topic, </font><span
style="font-family:'courier new',monospace">exchange)</span></div>
<div><font face="courier new, monospace">
connection.consume()</font></div>
<div><font face="courier new, monospace"> except
Exception:</font></div>
<div><font face="courier new, monospace">
connection.close()</font></div>
<div><br>
</div>
</div>
<div style=""><br>
</div>
<div style="">Can you please let me what needs to be done to
replace the above code and make it work with current neutron
code?</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">Thanks in advance,</div>
<div style="">Nader.</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>