Delaying logon after a Force Logout received

2 messages Options
Embed this post
Permalink
Daryl Olson

Delaying logon after a Force Logout received

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



I am using an Initiator that connects to the ICE FIX server. When the ICE FIX server sends out a Force Logout message (MsgType=5), I need to delay the reconnection for at least 30 seconds in order for the ICE FIX server to do its required cleanup. I have tried setting the configuration property “ReconnectInterval=30” but it does not seem to affect the delay in this situation. The reconnection occurs within 2 seconds after the forced logout is received.

 

Is there another setting which would delay the reconnection or is there some way in code to cause this delay?

 

 

 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Grant Birchmeier

Re: Delaying logon after a Force Logout received

Reply Threaded More More options
Print post
Permalink
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


ReconnectInterval affects the Initiator only, so your client is
reconnecting after the default 2s.  If you have control over your
clients, fixing this setting in their configs might be adequate, but
I'm guessing probably not.

I'm not sure if there is an easy way to solve your problem.  QF/J
doesn't allow you much power over the login/logout process.  Hopefully
some other reader has a better idea.

-Grant


On Wed, Aug 5, 2009 at 12:10 PM, Daryl Olson<[hidden email]> wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
> I am using an Initiator that connects to the ICE FIX server. When the ICE FIX server sends out a Force Logout message (MsgType=5), I need to delay the reconnection for at least 30 seconds in order for the ICE FIX server to do its required cleanup. I have tried setting the configuration property “ReconnectInterval=30” but it does not seem to affect the delay in this situation. The reconnection occurs within 2 seconds after the forced logout is received.
>
>
>
> Is there another setting which would delay the reconnection or is there some way in code to cause this delay?
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users