Details
-
Type: Bug
-
Status: Open
-
Priority: Default
-
Resolution: Unresolved
-
Affects Version/s: 1.5.3
-
Fix Version/s: None
-
Component/s: Engine
-
Labels:None
Description
This is in relation to QFJ-793.
When both settings RejectMessageOnUnhandledException and DisconnectOnError are set to Y and a RuntimeException is thrown within a call-back, QuickFIX/J will write to the log output messages like below:
<20140612-16:25:06, FIX.4.4:SENDER->TARGET, error> (Rejecting message: java.lang.RuntimeException: ... (with more details and the message)
2014-06-12 18:25:06 quickfix.Session disconnect
INFO: [FIX.4.4:SENDER->TARGET] Disconnecting: Auto disconnect
This is misleading because nothing is actually rejected (no reject message is sent back to the sender). The session is simply disconnected. I believe a slightly different wording should be used for this scenario, e.g "Failed to process message" instead of "Rejecting message".