Imported from previous forum
Hello, can you please tell me how can I receive MarketDataRequest on acceptor side. I am doing like this.
public void onMessage( quickfix.fix44.MarketDataRequest message, SessionID sessionID )
throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue {
System.out.println("On Message: "+message);
}
but it does not print message on console. and alse tell me what response should be sent back ? Thanks.
I am afraid that this forum will not be able to debug your program but I can tell you that the FIX Specification tells you what responses you should expect to your MarketDataRequest message. Please refer to Volume 3 (http://www.fixprotocol.org/documents/5907/FIX-5.0_SP2_VOL-3_w_Errata_20110818.pdf). The negative case will give you a MarketDataRequestReject, the positive case results in MarketDataSnapShotFullRefresh and/or MarketDataIncrementalRefresh.
Hello, can you please tell me how can I receive MarketDataRequest on acceptor side. I am doing like this.
public void onMessage( quickfix.fix44.MarketDataRequest message, SessionID sessionID )
throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue {System.out.println("On Message: "+message);}
but it does not print message on console. and alse tell me what response should be sent back ? Thanks.