[openamq-dev] Need Big Help On OpenAMQ Callbacks

Malinga malingajava at yahoo.com
Mon Aug 13 13:01:35 CEST 2007


Hi,

    Hi experts this is my 4th month working on the OpenAMQ, and now we are so sucess with the performance. But now we have big issue,,

    (*) I just expose my Middleware wrapper (written in C) from JNI to access by the Java. It working perfectly fine. Issue is when it comes to multi threading on Java we have big big issues. its not working as we expected.

     I think this because we using  amq_client_session_wait (session, 0); and block for a message. It will cases issues with the Java Multi threading.

Suggestion : If we can have Call back methods like in JMS we can solve this problem. Even in C++ if we use multiple threads to do this it will causes problems. Cas i think multiple threads cant block on queues (even when there are totally different queue names).

Thanks in Advance pls help me.

My Dev Env : Ubuntu 64-Bit Ubuntu 7.04 Feisty Fawn 
                       G++ 4.1.2
                             gcc 4.1.2
                              Java 1.6

-Malinga




       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20070813/8860839d/attachment.htm 


More information about the openamq-dev mailing list