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
emaconfig.txt
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.