{{Quickfixn}} Limit String Length

Gaull, Jim JGaull at ftportfolios.com
Fri Nov 13 07:16:38 PST 2015


Hi everyone,

Does anyone know if there's a way to set the maximum string length that's allowed for a tag through the dictionary?  I would like to reject messages back to our counterparty if certain tags are too long.  For example, I believe our counterparty could send us a string that's 100 characters long for the symbol (tag 55) but our database isn't set up to accept a field that long.  For the sake of speed, I insert the contents of the messages into our database before validating the lengths of the tags.  If it's not possible, I'll just add a quick check before inserting into the database since my inserts are happening on a separate thread and won't slow down the processing of new messages coming in.

Thanks!!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20151113/d272c29e/attachment.htm>


More information about the Quickfixn mailing list