when it's necessary to change a FIX session sequence number, either next expected or next sent
Changing DARE sequence numbers is accomplished via JMX. There are several different JMX clients you can use. The Java JDK ships with one called jconsole. We'll use that for this guide.
Step-by-step guide
- Start jconsole. Since jconsole is a GUI application, you'll need to run it from your desktop.
- Connect to your DARE instance. The default port is 1099.
- Select insecure connection (it's ok!)
- Select the MBeans tab and expand the desired session
- Find the NextSenderMsgSeqNum or NextTargetMsgSeqNum field. Both are editable. Simply change the value written there and press enter. Press Refresh to see your changes.