Configure QuickFixJ to not override Sending Time (Tag 52) value in LOGON message. I am setting the Sending Time in Tag 52 in the header of the message.
DateTime test = DateTime.now(DateTimeZone.UTC); org.joda.time.format.DateTimeFormatter fmt = DateTimeFormat.forPattern("yyyyMMdd-hh:mm:ss.SSS"); String formatdate = fmt.print(test); message.getHeader().setUtcTimeStamp(SendingTime.FIELD , test.toDate());
Once I set the value in the Tag 52, the QuickFixJ engine overrides this value with current timestamp.