Hi,

On Mon, 26 Aug 2013 10:48:55 +0000
Kobi Samoray <[email protected]> wrote:

> Working on an app which is based on RyuApp, I'm trying to receive events from 
> an external app (Java written).
> I've tried implementing that using RabbitMQ as a messaging infrastructure, 
> using pika client.
> I've spawned a thread from my __init__ and I consume my messages from that 
> thread.
> 
> When I do that, it breaks Ryu messaging, so I do not receive dpset messages, 
> etc.

You want a spawned thread to get Ryu events, right? app/gre_tunnel.py
might be interesting for you but kinda hacky. We plan to clean up the
APIs in the area. To handle the similar case, I spawn a thread that
takes care of input from outside and communicate with Ryu App thread.

Thanks,

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to