|
From: Bhathiya J. <tob...@gm...> - 2011-09-23 09:00:18
|
Hi, Thanks for the reply Joerg. I expect that API itself should handle this behavior. But in this case why is it not happening? Any idea? Thank you. On Fri, Sep 23, 2011 at 2:14 PM, Joerg Thoennes <joe...@ma...>wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/%0AQuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > > Hi, > > the FIX standard heartbeat behavior is as follows: > > 1. On Logon, the Initiator requests a heartbeat interval (usual default 30 > seconds) > 2. From now on every side expects at least one message every 30 seconds > (defined heartbeat interval) > 3. If there is no application message available, a heartbeat is sent > instead > 4. If one side does not get neither a heartbeart nor an application message > after 30 seconds, a connection issue is suspected. > 5. Therefore, a TestRequest is sent ("Are you still there?"): Sent test > request TEST > 6. This TestRequest is not answered by a Heartbeat with the supplied > TestRequestID, the connection is considered dead. > 7. Finally, the network connection is dropped: Disconnecting: Timed out > waiting for heartbeat > > The only way to disable this kind of heartbeating is to request a very > large heartbeat interval by the initiator. > Would that help you? > > Cheers, Jörg > > ------------------------------ > *From: *"Bhathiya Jayasekara" <tob...@gm...> > *To: *qui...@li... > *Sent: *Thursday, September 22, 2011 4:21:03 PM > *Subject: *[Quickfixj-users] Test request and response issue > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi all, > > I'm using quickfix/j for my stock market client application and stock > market simulator. Messages are going from simulator to application only. > (Oneway). > Simulator sends messages to application always and meanwhile it sends test > request messages as well. (by the API automatically) Can someone tell me > what's the purpose of this. And also my application doesn't handle them > automatically. (does not send required heartbeat.) > > This is printed by simulator. > > <20110922-14:08:59, FIX.4.4:A->B, event> (Sent test request TEST) > <20110922-14:09:26, FIX.4.4:A->B, error> (Disconnecting: Timed out waiting > for heartbeat) > > Then the system is logged out by the simulator. > > Can someone help me with this? Thank you. > > -- > -Bhathiya Jayasekara- > http://www.google.com/profiles/tobhathiyaj > http://www.facebook.com/#!/bhathiyaj1 > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- -Bhathiya Jayasekara- http://www.google.com/profiles/tobhathiyaj http://www.facebook.com/#!/bhathiyaj1 |