I use such MpccStartPoint interface for connecting JCA and EJB.
Here is interfaces:
<code>
public interface MpccStartPoint {
public void start(IMpccFacade facade);
}
public interface IMpccFacade extends Remote, Serializable {
String RMI_NAME = "IMpccFacade";
int createNotification(IAppMultiPartyCallControlFacade appFacade, CallNotificationRequest request, String s) throws RemoteException;
void reportNotification(AppJeeMultiPartyCall call, AppJeeCallLeg appLegs) throws RemoteException;
void continueProcessing(AppJeeCallLeg callLeg) throws RemoteException;
void onCallEnded(AppJeeMultiPartyCall call) throws RemoteException;
}
public interface IAppMultiPartyCallControlFacade {
void onCallEnded(AppJeeMultiPartyCall call);
void onException(Exception e);
void reportNotification(IMpccFacade facade, AppJeeMultiPartyCall call, AppJeeCallLeg appLegs);
}
</code>
IAppMultiPartyCallControlFacade is provided by EJB, and then i call method reportNotification everything is fine, but onCallEnded doesn't do.
Looks like I'm stub in a threads
[Message sent by forum member 'theme_theme' (theme_theme)]
http://forums.java.net/jive/thread.jspa?messageID=314731