You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is part of the quickfix documentation:
toApp is a callback for application messages that are being sent to a counterparty. If you throw a DoNotSend exception in this function, the application will not send the message. This is mostly useful if the application has been asked to resend a message such as an order that is no longer relevant for the current market. Messages that are being resent are marked with the PossDupFlag in the header set to true; If a DoNotSend exception is thrown and the flag is set to true, a sequence reset will be sent in place of the message. If it is set to false, the message will simply not be sent. Notice that the FIX::Message is not const. This allows you to add fields to an application message before it is sent out.
I want to create a DoNotSend exception in my toApp callback, but I do not know how to accomplish that. Is that possible to do with nodejs nan?
The text was updated successfully, but these errors were encountered:
ajoseps
changed the title
Is there a way to throw a FIX error from a node callback function?
Is there a way to throw a FIX exception from a node callback function?
Jan 14, 2020
This is part of the quickfix documentation:
toApp is a callback for application messages that are being sent to a counterparty. If you throw a DoNotSend exception in this function, the application will not send the message. This is mostly useful if the application has been asked to resend a message such as an order that is no longer relevant for the current market. Messages that are being resent are marked with the PossDupFlag in the header set to true; If a DoNotSend exception is thrown and the flag is set to true, a sequence reset will be sent in place of the message. If it is set to false, the message will simply not be sent. Notice that the FIX::Message is not const. This allows you to add fields to an application message before it is sent out.
I want to create a DoNotSend exception in my toApp callback, but I do not know how to accomplish that. Is that possible to do with nodejs nan?
The text was updated successfully, but these errors were encountered: