[Quickfix-users] (no subject)
Brought to you by:
orenmnero
From: Mikael K. <mik...@ci...> - 2010-02-10 14:27:43
|
Hi all, I work with an application where we use QuickFix/J as the engine for an auto-test framework (from what I can see we are using version 1.3.0). The problem is that when waiting in a test for messages to arrive, the session threads seem to block. The test sets up sesssions, sends messages, and waits for messages to arrive back from the server in order to validate that the expected messages are received. The wait has a timeout, and no matter how log/short this timeout is, the messages appear after the wait loop has terminated. Some messages are sent after the wait loop, and that seems to make session threads "come alive" again. Note that the wait loop yields properly, and that SingleThreadedEventHandlingStrategy.block() polls for messages properly during the wait loop. It is the session threads that call SingleThreadedEventHandlingStrategy.onMessage() that seems to to block. Any hints before I start to dig deeper into this? Anyone recognizing this problem? Might it help to upgrade to version 1.4.0? Very best regards, Mikael Kindborg ________________________________ Mikael Kindborg <mailto:mik...@ci...> Cinnober Financial Technology AB <http://www.cinnober.com> Kungsgatan 36 SE-111 35 Stockholm, Sweden |