I used the RFA.NET to retrieve the Market price using RFA.NET and I used the example StarterConsmer and everything works ok untill I tried to Market Depeth using MMT_Market_By_Price I encountered the statusText record not found .If I changed the MMT_Market_By_Price to MMT_Market_Price I got feed back otherwise i will encounter record not found
I attached conifguration files at current post , nor that the service name and item name are changed at run time
private long SendItemRequest(RFA_String itemName, RFA_String serviceName) { return SendItemRequest(itemName, serviceName, 0, RDM.RDM.MESSAGE_MODEL_TYPES.MMT_MARKET_BY_PRICE, (ReqMsg.InteractionTypeFlag.InitialImage | ReqMsg.InteractionTypeFlag.InterestAfterRefresh)); } private long SendItemRequest(RFA_String itemName, RFA_String serviceName, byte indicationMask, byte msgModelType, byte interType) { long handle = 0; ReqMsg reqMsg = new ReqMsg(); AttribInfo attribInfo = new AttribInfo(); reqMsg.MsgModelType = msgModelType; reqMsg.InteractionType = interType; attribInfo.NameType = RDM.RDM.INSTRUMENT_NAME_TYPES.INSTRUMENT_NAME_RIC; attribInfo.Name = new RFA_String("EUR="); attribInfo.ServiceName = serviceName; reqMsg.AttribInfo = attribInfo; //reqMsg.IndicationMask = (byte)(reqMsg.IndicationMask | indicationMask); OMMItemIntSpec ommItemIntSpec = new OMMItemIntSpec(); ommItemIntSpec.Msg = reqMsg; string[] strs = new string[5]; strs[0] = "itemName"; strs[1] = "serviceName"; strs[2] = "indicationMask"; strs[3] = "msgModelType"; strs[4] = "interactionType"; RFA_String text = new RFA_String(); int SIZE = strs[4].Length + 1; AppUtil.FormatNameValue(text, new RFA_String(strs[0]), SIZE, reqMsg.AttribInfo.Name); AppUtil.FormatNameValue(text, new RFA_String(strs[1]), SIZE, reqMsg.AttribInfo.ServiceName); AppUtil.FormatNameValue(text, new RFA_String(strs[2]), SIZE, reqMsg.IndicationMask.ToString()); AppUtil.FormatNameValue(text, new RFA_String(strs[3]), SIZE, reqMsg.MsgModelType.ToString()); text.Append(" : "); text.Append(OMMStrings.MsgModelTypeToString(reqMsg.MsgModelType)); AppUtil.FormatNameValue(text, new RFA_String(strs[4]), SIZE, reqMsg.InteractionType.ToString()); text.Append(" : "); text.Append(OMMStrings.InteractionTypeToString(reqMsg.InteractionType)); AppUtil.Log(AppUtil.LEVEL.TRACE, string.Format("Create Item Request {0}", text.ToString())); handle = ommConsumer.RegisterClient(eventQueue, ommItemIntSpec, this, itemName); return handle; }