|
From: Alvin W. <AW...@FF...> - 2007-02-14 15:28:43
|
IMHO, this behavior has nothing to do with FIX spec, rather than how the
QuickFIX(J)'s API should be understood.
I believe in the future there will be a tag so counterparty can indicate in
Logout what seq it is expecting, so in fromApp I can adjust accordingly
without any manual intervention to recover the session. Now QF just
increments seq to try to meet with the counterparty's, but sometimes
counterparty is expecting a lower seq number. so the session will never be
able to recover itself.
BTW, onLogout will not help since it does not pass the Logout message
"Shepheard, Toby
(London)"
<Toby_Shepheard@m To
l.com> <qui...@li....
Sent by: net>
quickfixj-users-b cc
ou...@li...
ceforge.net Subject
Re: [Quickfixj-users] Logout
Message
02/14/2007 07:04
AM
Please respond to
quickfixj-users@l
ists.sourceforge.
net
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Ahh, ok I wish you'd said that in the first place!
The callbacks within QFJ are made at the end of the verify method in
Session.java - and if there's an issue with the verification then it
will return without having made that callback. This is why it's not
picked up in your fromAdmin callback.
I think the point here is that the Logout command is never actually
processed by the engine, instead it will follow the correct behaviour
for an invalid sequence number (too low or too high, you don't specify
which in this case) - this will then either cause a resendRequest or a
logout and disconnect from your side, depending which way it is. So you
could argue that this is correct behaviour as the FIX message is
technically invalid if the logout message itself is out of sequence - I
leave that to the likes of Steve and Oren to discuss though, I'm not
very good on the FIX specifics.
Regards,
Toby
-----Original Message-----
From: qui...@li...
[mailto:qui...@li...] On Behalf Of
Alvin Wang
Sent: 13 February 2007 19:52
To: qui...@li...
Cc: qui...@li...;
qui...@li...
Subject: Re: [Quickfixj-users] Logout Message
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
i say 'abnormal' logout , meaning when seq number is out of sync, then
logout is sent to me in response of my logon
Oren Miller
<oren@quickfixeng
ine.org>
To
Sent by:
qui...@li....n
quickfixj-users-b et
ou...@li...
cc
ceforge.net
qui...@li...
eforge.net
Subject
02/13/2007 02:49 Re: [Quickfixj-users] Logout
PM Message
Please respond to
quickfixj-users@l
ists.sourceforge.
net
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Can you elaborate? And 'abnormal' logout is typically a disconnect,
in which case there is not logout message to pass along.
--oren
On Feb 13, 2007, at 12:28 PM, Alvin Wang wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> Sorry, my mistake again. I do not think Logout (at least abnormal
> logout)
> triggers fromAdmin callback, which is the problem.
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
************************************************************************
*******
This e-mail message is intended solely for the use of the addressee.
The message may contain information that is privileged and
confidential.
Disclosure to anyone other than the intended recipient is prohibited.
If you are not the intended recipient, please do not disseminate,
distribute or copy this communication, by e-mail or otherwise. Instead,
please notify us immediately by return e-mail(including the original
message with your reply) and then delete and discard all copies of the
message. We have taken precautions to minimize the risk of transmitting
software viruses but nevertheless advise you to carry out your own
virus checks on any attachment to this message. We accept
no liability for any loss or damage caused by software viruses.
************************************************************************
*******
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain
or redistribute it. Click here for important additional terms relating to
this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
|