[Asterisk-java-users] Two Connection but only one Thread for reading...
Brought to you by:
srt
From: Gabriel A. <gab...@gl...> - 2007-07-10 20:27:24
|
Hi, I'm creating 2 beans with Spring using DefaultManagerConnection, only one of them has an EventListener added, the other it will used for making calls. Although the javadocs says "Note that the DefaultManagerConnection will create one new Thread for reading data from Asterisk", I'm receiving the events through the Connection that it doesn't have an EventListener. How can I get 2 real independent connections? Thanks in advance, Gabriel. |