question

Upvotes
Accepted
25 6 5 11

Unable to process batch greater than 4358 rics

Hi,

I'm getting following error when my batch input is > 4358 rics.

I'm using

//create OmmArray
OmmArray array;
array = EmaFactory.createOmmArray();
...
array.add(EmaFactory.createOmmArrayEntry().ascii(<RIC>)); // <RIC> - ric name

Using payload() function to send the array.

Exception Type='OmmInvalidUsageException', Text='Failed to rsslElementEntry.encode() while encoding rssl elementlist. Reason='INVALID_DATA'' at com.thomsonreuters.ema.access.CollectionDataImpl.ommIUExcept(Unknown Source) at com.thomsonreuters.ema.access.ElementListImpl.encodedData(Unknown Source) at com.thomsonreuters.ema.access.MsgImpl.msgPayload(Unknown Source) at com.thomsonreuters.ema.access.ReqMsgImpl.payload(Unknown Source)

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

Hello @sagar.s.

I think you are hitting element array total size maximum, via batch.

Please refer to this question for the relevant discussion.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.