Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-296

Messages logged as being sent even if the Responser is null

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Default
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Engine, Networking
    • Labels:
      None
    • Environment:
      All

      Description

      In the quickfixj.Session.java class we log that a message is sent even if the Responder for that Session is null:

      1770     private boolean send(String messageString) {
      1771         getLog().onOutgoing(messageString);
      1772         synchronized (responderSync) {
      1773         if (!hasResponder()) {
      1774             getLog().onEvent("No responder, not sending message");
      1775             return false;
      1776         }
      1777         return getResponder().send(messageString);
      1778         }
      1779     }
      

      as you can see in line 1771, we log the message as being sent, but we still check that the Resonder can be null and the message may eventually not be sent out

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              srasul Saqib Rasul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: