From: Markus K. <mar...@gm...> - 2005-02-22 15:25:22
|
I want to implement a JMS MessageListener in C++. I have done this manually with lots of JNI. The trick is, that the message listener actually is a peer, but it is located in an EXE, not in a DLL. So the Java Class cannot load it (I register it with JNI methods in my main() method of the C++ class). Since MessageListener gets called asynchronously by the JMS receiver thread, I need to be sure that Jace is able to implement the callback method "onMessage" in C++ (this would be a job of the ProxyGen tool, but actually I don't have a proxy but a peer). Can Jace do that? Any tricks? Any problems? Thanks for all Markus |