使用JavaAPI对接路透,回调client都会有哪些异常情况?在回调onRefreshMsg()接口推送的信息中,FiledEntry中load的值为空或者(blank data)时是什么情况?
使用JavaAPI对接路透,回调client都会有哪些异常情况?在回调onRefreshMsg()接口推送的信息中,FiledEntry中load的值为空或者(blank data)时是什么情况?
<AHS>
from google translate
What exceptions will occur when the client is called back when JavaAPI is used to connect to Reuters? What happens when the value of load in FiledEntry is empty or (blank data) in the information pushed by the callback onRefreshMsg() interface?
Hello @lingjia.jiang
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.
Thanks,
AHS
Hi,
Please be informed that a reply has been verified as correct in answering the question, and marked as such.
Thanks,
AHS
Thanks for reaching out to us.
You can refer to the ex330_Login_Streaming example that demonstrates the opening of the login stream as well as its processing. Having a login stream open is useful for consumer applications willing to get the state of its connectivity to the server.
To handle blank data, please refer to the ex200_MP_Streaming example.
if (Data.DataCode.BLANK == fieldEntry.code()) System.out.println(" blank");
Please feel free to reach out if you have any further questions.
还有个问题,EmaConfig.xml这个文件在Linux环境发布JAVA-Spring项目时,文件路径是什么?应该放在哪里?工程打镜像部署Docker时,此配置文件又应该放在哪里?ema读取此配置文件所取路径是什么?
By default, it reads the configuration file from the working directory. However, you can change it. Please refer to the ex111_MP_UserSpecifiedFileCfg example.
Hello @lingjia.jiang
The EMA Java API reads the configuration file via the following paths:
Hope this helps.