[QFJ-107] session management functionality at application level Created: 14/Nov/06  Updated: 16/Nov/06  Resolved: 15/Nov/06

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.0.4
Fix Version/s: None

Type: Other Priority: Default
Reporter: Welf Wustlich Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None
Environment:

linux, netbeans


Issue Links:
Relates
relates to QFJ-108 Session management, especially for Fo... Closed

 Description   

Is there an opportunity to use the session management (session schedule or state) to run an own application methode?
What we´d like to do is: to clean up our system (archive log-files and so on) in a session break.
Now we do this with a cron-job, the problem is, that the cronjob and the fix session always need to be coordinated.
Im looking for an additional information when I get a logout, to see that the session has finished regular and Im in a session break and so I can start my cleaning scripts from my application instead of using the cron-job.
Example: Hotspot has a break of one and a half hour per day.

Thanks, Welf



 Comments   
Comment by Steve Bate [ 15/Nov/06 ]

No, that functionality is currently not directly accessible. You could use something like the open source job schedule, Quartz, to schedule end-of-day operations at the correct time. Quartz can be embedded in your application.

Generated at Sat Nov 23 11:27:23 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.