|
From: Brad H. <Bra...@gb...> - 2007-06-05 01:57:01
|
Hi Toli, Perhaps this is fixed by http://www.quickfixj.org/jira/browse/QFJ-179 for 1.1.1?=20 Brad. -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Toli Kuznets Sent: Tuesday, 5 June 2007 11:20 AM To: qui...@li... Subject: Re: [Quickfixj-users] Is anybody seeing dropped incoming SSLmessages? QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ In the spirit of answering my own questions, I have figured out my problem - it was a "user error" of sorts. Turns out I had a deadlock: since this was a quick-and-dirty sample app, i was stupid to send a MarketDataRequest from inside the onLogon() method. As a result, i had a lock on the DataDictionary and was waiting on SocketIoProcessor (mina's SSL processor) while the SocketIoProcessor was receiving a new message and was in turn waiting on the DataDictionary. So rest assured, SSL (if used correctly) does not drop any incoming messages. Here's a corollary question: it's obvious that sending messages out in onXXX callbacks can lead to deadlocks. Any advice/best practices on how to handle that situation, aside from handing work out to other threads/runnables? thanks! |