Message Logging problem...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Message Logging problem...

Mohammad Kamran Liaqat
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/

Hi everybody....
 
I'm not getting any messages whatsoever in the client and server MESSAGES log files.Follwoing is the code for the message I'm sending to the server,,,shud I be receiving this message somehere inside any methid of my application??
 

void sendMessage()
    {
        try
        {
             Message message = new Message();
             Header header = message.getHeader();
             header.setField(new BeginString(" FIX.4.1"));
             header.setField(new SenderCompID("sender"));
             header.setField(new TargetCompID("target"));
             header.setField(new MsgType("D"));
             message.setField(new OrigClOrdID("123"));
             message.setField(new ClOrdID("321"));
             message.setField(new Symbol("LNUX"));
             message.setField (new Side(Side.BUY));
             message.setField(new Text("Cancel My Order!"));

             Session.sendToTarget(message);
            
           
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }

If you need the cofig files being used on both sides,,plz let me know..

thanks in advance...

 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users