qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiri Danek <jda...@redhat.com>
Subject Re: Using Python Qpid Proton reactor with another event loop in the same application; messages are getting sent coalesced somehow
Date Fri, 05 May 2017 08:40:54 GMT
On Fri, May 5, 2017 at 10:12 AM, Gordon Sim <gsim@redhat.com> wrote:

> A proton container instance is not threadsafe, so all calls to it and the
> connections it manages should be done on the containers event thread (i.e.
> the one calling run).
> You can trigger a custom 'event' to be handled on the containers event
> thread with the EventInjector. There are a couple of examples that show
> this pattern that may help:

That's it!

So here is fixed video which shows it working properly:

Thank you for your help. I saw some of the examples before, but I haven't
realized that is what I have to do here.
Jiří Daněk

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message