<div dir="ltr">Hi Doug,<div><br></div><div>I have an app that listens to notifications and used the info provided in </div><div><a href="http://docs.openstack.org/developer/oslo.messaging/notification_listener.html">http://docs.openstack.org/developer/oslo.messaging/notification_listener.html</a><br></div><div><br></div><div><br></div><div>Basically I create </div><div><div>1. NotificationEndpoints(object):</div><div><a href="https://github.com/openstack/networking-cisco/blob/master/networking_cisco/apps/saf/common/rpc.py#L89">https://github.com/openstack/networking-cisco/blob/master/networking_cisco/apps/saf/common/rpc.py#L89</a><br></div><div>2. NotifcationListener(object):<br></div><div><a href="https://github.com/openstack/networking-cisco/blob/master/networking_cisco/apps/saf/common/rpc.py#L100">https://github.com/openstack/networking-cisco/blob/master/networking_cisco/apps/saf/common/rpc.py#L100</a><br></div><div>3. and call start() and then wait()</div></div><div><br></div><div><br></div><div>Thanks,</div><div>Nader.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 5, 2015 at 5:27 AM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug@doughellmann.com" target="_blank">doug@doughellmann.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from Nader Lahouti's message of 2015-11-04 21:25:15 -0800:<br>
<div><div class="h5">> Hi,<br>
><br>
> I'm seeing the below warning message continuously:<br>
><br>
> 2015-11-04 21:09:38 WARNING [oslo_messaging.server] wait() should have<br>
> been called after stop() as wait() waits for existing messages to finish<br>
> processing, it has been 692.98 seconds and stop() still has not been called<br>
><br>
> How to avoid this waring message? Anything needs to be changed when using<br>
> the notification API with the latest oslo_messaging?<br>
><br>
> Thanks,<br>
> Nader.<br>
<br>
</div></div>What version of what application is producing the message?<br>
<br>
Doug<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>