Hello,
(shamelessly adapted to my needs from a old message from this list)
I want to integrate status messages over xmpp in my Rails application.
My problem is that I do not want to establish a connection to the
jabber server each time a message is sent and disconnect the
connection afterwards. So I am looking for a solution to establish the
connection and use this connection in my controllers when I need it. I
am going to use xmpp4r to communicate with the jabber network.
How can I use the connection im my controllers?
Will there be some issues about multiple application instances
(because of FastCGI, Mongrel, etc.) ?
With best regards,
Mickael