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

not getting response to logon message

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 1.5.2
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
    • Environment:
      windows 7,my eclipse

      Description

      USING FIX 5.0

      I am trying to send logon message from initiator but not able to see any response in acceptor.

      In initiator i setField for logon type(35) and i send message by session.sendToTarget(message);

      but i am not getting any response in acceptor side and logon is not successfully done.

      *********Acceptor side code**********

      ---AlertAcceptor.java
      class AlertAcceptor

      { Application application = new AlertServer(); //All setting is done socketAcceptor acceptor=socketAcceptor(application ,,,); acceptor.start(); //sleep acceptor.stop(); }

      ---AlertServer.java

      class AlertServer implements Application

      { OnLogon() { //expecting logon from initiator but not getting } OnLogout { }

      fromApp() { }

      toApp() { }

      fromAdmin()
      { }

      toAdmin()

      { } }

      *********Initiator Side code***************

      --AlertInitiator.java

      class AlertInitiator

      { Application application = new AlertProcess(); //All setting is done socketInitiator initiator=socketInitiator(application ,,,); initiator.start(); //sleep initiator.stop(); } --AlertProcess.java class AlertProcess implements Application { OnLogon() { Message msg=new Message(); msg.getHeader.setField(new String(35,"A"));//header //additionally two more fields from body session.sendTotarget(msg); } OnLogout() { } fromApp() { } and so on.. }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sagarnarasgonde sagar narasgonde
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: