[QFJ-511] persistance filter idea Created: 03/Mar/10 Updated: 04/Mar/10 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Improvement | Priority: | Default |
Reporter: | Andre Mermegas | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None |
Attachments: | FilterExcludingSolicited.java MessageStorePersistanceFilter.java Session.java Session.java Session.java |
Description |
ability to add a static persistance filter to Session. to avoid writing marketdata, other user defined criteria. |
Comments |
Comment by Andre Mermegas [ 03/Mar/10 ] |
example usage. |
Comment by Andre Mermegas [ 04/Mar/10 ] |
2nd session, has a bugfix for forceresync getting messed up by sequence numbers from the message store, it should ignore it. |
Comment by Andre Mermegas [ 04/Mar/10 ] |
actually I guess you could just do this if (forceResync && isPossibleDuplicate(msg)) { return false; }instead of if (forceResync && (isAdminMessage(msgType) || isPossibleDuplicate(msg))) { return false; } |