Re: [Asterisk-java-devel] FastAGI and Database connecction pools.
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-02-28 18:54:47
|
Hi, you could just create the create the connection pool before starting the agi server, create new instances of your agi scripts, pass them your connection pool and use SimpleMappingStrategy to map agi URLs to you script instances. =3DStefan Chris Howard wrote: > Hi All, > I'm looking into using the FastAGI interface and I need a DB =20 > interface to determine the control call flow. What I would really lik= e > is a DB (postgres in my case) connection pool available to each of th= e > AGI connection threads. I'm a little stumped on how to proceed. I'm= > looking at a connection pool interface to the AGIConnectionHandler > Class and provide a method to request a connection from the pool. Has= > anyone tried something like this? >=20 > Chris >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territ= ory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |