[QFJ-237] Provide a way to send a sequence reset (via JMX operation?) Created: 18/Sep/07 Updated: 11/Feb/09 Resolved: 19/Sep/07 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.2.1 |
Fix Version/s: | 1.3.0 |
Type: | New Feature | Priority: | Default |
Reporter: | Graham Miller | Assignee: | Toli Kuznets |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Attachments: | .jpg |
Description |
the OpenFIX testing suite requires the ability for the FIX engine to send a sequence reset at an arbitrary point in the testing process (see attached screenshot). I don't think QuickFIX can do this currently. It seems to me that this might be an easy thing to add to the set of operations available on SessionAdminMBean (which is then exported via the JMX interface). In order to satisfy the test the user would need to be able to specify one int argument to the operation (not sure if this is possible). Also, provided the JMX interface is the right entry point, what is the correct way to send the sequence reset? Can I just construct a message and call Session.sendToTarget? |
Comments |
Comment by Graham Miller [ 18/Sep/07 ] |
The point in the OpenFIX certification that requires a sequence reset message. (note the specific request for the reset to use the "next" sequence number 28 |
Comment by Steve Bate [ 18/Sep/07 ] |
Yes, I your suggestion is correct. To send an explicit sequence reset message, you could add a JMX operation that would construct and send the message like a normal message. |
Comment by Toli Kuznets [ 19/Sep/07 ] |
fix for this checked in rev 739. Added a new resetSequence() function to SessionAdminMBean that sends a Sequence Reset mesagge with the specified sequence number. |