Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-237

Provide a way to send a sequence reset (via JMX operation?)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: Engine
    • Labels:
      None

      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?

        Attachments

          Activity

          Hide
          gmillermarket Graham Miller added a comment -

          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

          Show
          gmillermarket Graham Miller added a comment - 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
          Hide
          admin Steve Bate added a comment -

          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.

          Show
          admin Steve Bate added a comment - 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.
          Hide
          toli Toli Kuznets added a comment -

          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.

          Show
          toli Toli Kuznets added a comment - 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.

            People

            • Assignee:
              toli Toli Kuznets
              Reporter:
              gmillermarket Graham Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: