Exception Type='OmmInvalidUsageException', Text='Failed to rsslElementEntry.encode() while encoding

Hello I am trying to use batch to request TREP data using ema api.

I request 9000 Rics in batch mode. I am running into this exception. Can you advise please?

Below my config file:

I tried setting the property GuaranteedOutputBuffers to 10000 and then to 100000.

<?xml version="1.0" encoding="UTF-8"?>
<EmaConfig>


<ChannelGroup>
<ChannelList>
<Channel>
<Name value="Channel_1" />
<ChannelType value="ChannelType::RSSL_SOCKET" />
<GuaranteedOutputBuffers value="100000"/>
<Host value="xxxxxxx" />
<Port value="14002" />
</Channel>
</ChannelList>
</ChannelGroup>


<ConsumerGroup>
<DefaultConsumer value="cunsumer1"/>
<ConsumerList>
<Consumer>
<!-- Name is mandatory-->
<Name value="cunsumer1"/>
<!-- Channel is optional: defaulted to "RSSL_SOCKET+localhost+14002"-->
<!-- Channel or ChannelSet may be specified -->
<Channel value="Channel_1"/>
<XmlTraceToStdout value="0"/>
<XmlTraceToFile value="1"/>
<Logger value="Logger_2"/>
</Consumer>
</ConsumerList>
</ConsumerGroup>


</EmaConfig>

Best Answer

Answers