[Asterisk-java-devel] Asterisk-JAVA JEE JCA
Brought to you by:
srt
From: Conrad W. <ast...@co...> - 2009-05-06 20:52:03
|
Hi there, I would like to use the asterisk manager interface from my JBOSS application. I figured I could create a JCA which connects to asterisk and forwards the events to a Bean. However, when I login with a ManagerConnection it starts a new Thread. On the JCA I got the worker-thread already so it mustn't start it's own. I pondered over some solutions, including subclassing ManagerConnectionImpl and overriding connect() - but that seems somewhat dirty. Of course, the JCA shall be open to the public and perhaps part of the asterisk-java distribution if so desired, so it should be somehow more integrated. Does anyone have any comments on how I should proceed here? Conrad |