On Tue, Jul 31, 2012 at 02:26:25PM +0200, Mario Camou wrote: > > I have a Ruote Receiver that processes AMQP messages (as I've mentioned in > IRC, its API is similar to the old RuoteAMQP but I've changed a few things > and it uses the Java RabbitMQ client directly, since we're running under > JRuby). What I would like is for Ruote to close the AMQP connection when it > exits, but I can't figure out how to do that. I guess I implement some > callback?
Hello Mario, in theory, if your receiver has a #shutdown method, it will get called when Ruote::Dashboard#shutdown is called. Please tell me if that doesn't work for you or if it doesn't match your use case. Best regards, -- John Mettraux - http://lambda.io/jmettraux -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
