quickfixgo / quickfix

The Go FIX Protocol Library :rocket:
https://www.quickfixgo.org/
Other
735 stars 288 forks source link

add feat: acceptor template #662

Open haoyang1994 opened 1 month ago

haoyang1994 commented 1 month ago

Ref #661. Dynamic sessions are unregistered when a session disconnects, and messages cannot be sent to those sessions afterward.

This PR introduces a new feature, similar to the acceptor template in QuickFIX/J, which allows dynamic sessions to be created and retained in the registry even if the session disconnects. The existing dynamic session code has not been removed in this PR, to preserve the ability to create short-lived dynamic sessions.

Stores like FileStore and JdbcStore have also been modified accordingly.