> The new version I have put on http://people.apache.org/~elecharny should > solve the problem : instead of getting the lock whe we enter in the > flushScheduledEvents() event, we exit immediately, doing nothing but > incrementing the number of scheduled-events, instead of getting the > lock. That means the thread which actually hold this lock will process > all the enqueued messages itself, until the counter get down to 0. > >Can you give this version a try ?
Looks very good, I am running my application now for 20 minutes or so, and still have no deadlock. I am using now your snapshot versions without any changes. This is very nice, now it's possible to send a pull request for proxy support to the QuickFixJ people the next time you do a Mina release. Thanks a lot, Norbert