From: Adam R. <ad...@ex...> - 2010-09-01 15:53:01
|
This code does not look correct to me, unless I am mistaken the database broker of the original XQuery is reused in the listener which is actually invoked in a separate thread - there is no guarantee that that is thread safe. A new broker should be allocated and release appropriately for the listener! On 1 September 2010 16:44, Evgeny Gazdovsky <gaz...@gm...> wrote: > can you look the source code of XMMPChatFunction.java > It is use the callback function when creating chat. > After resiving a message this callback will be called. > -- > Evgeny > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |