HELLO:
I develop with EMA C++;
I my program, I use the "EmaConfig.xml"
I request quote of HKSE from TREP;
I get many error "Request timed out.".
I want to know how to set the RequestTimeOut in EmaConfig.xml.
errors:
EmaConfig.xml
HELLO:
I develop with EMA C++;
I my program, I use the "EmaConfig.xml"
I request quote of HKSE from TREP;
I get many error "Request timed out.".
I want to know how to set the RequestTimeOut in EmaConfig.xml.
errors:
EmaConfig.xml
Hello @luxiangyuan
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Hi @luxiangyuan
You can change the request timeout in "Consumer" node of the configuration:
<ConsumerList> <Consumer> <Name value="Consumer_1"/> <Channel value="Channel_1"/> <Logger value="Logger_1"/> <Dictionary value="Dictionary_1"/> <XmlTraceToStdout value="0"/> <RequestTimeout value="15000" /> </Consumer> </ConsumerList>
The value is in milliseconds. The default is 15 seconds.