FIX Trading Community

 

 Remember me

Register  |   Lost password?

4.1 Changes

Discussions > 4.1 Changes > Sending Logon

Sending Logon

Complete message thread from old site

Prasanna Hegde
2826 days ago,(2006/07/23)

Hi,

I'm using Appia 4.2 for exchange connectivity where I'm facing couple of problems.
1. For sending Logon to the exchange, I construct a LogonMsg object with appropriate information and call postMiddlewareObject() method of MiddlewareInterface, which it is not working. Instead of logon, if I use operatorCommand("connect some_id"), I'm able to connect. How to send proper Logon message to the exchange?
2. Everyday when I try to connect for the first time, I fail because of Message sequence number proble. In my appia.ini, start_seq_num = 1 in the connection block. Even if I change it to the next number of the previous day's last MsgSeqNum received, I fail to connect. So, everyday I callup the exchange and ask them to reset the seq num, after which I can connect successfully. Is it possible to reset the message seq num with logon message for the first login of the day?

Pls let me know the work around for the above problems.

Javin Paul
1174 days ago,(2011/01/30)

Hi,

for the second problem you can setup EOD job for appia session which will reset the sequence number for next days use.
Some FIX Session related issues are discussed in this link ,check if its useful.

http://javarevisited.blogspot.com/2011/01/fix-protocol-tutorial-fix-session-is.html