-
rsslEncodeFieldListComplete segfaults.
Hi. I am encoding a market price update message and rsslEncodeFieldListComplete receives SIGSEGV. Any ideas what the cause might be? As far as I can tell I am following the proper sequence of rsslEncodeFieldListInit, rsslEncodeFieldEntry, rsslEncodeFieldListComplete. In gdb, "disas" shows the following line where it…
-
Are there any ordering constraints on encoding/decoding different parts of an RSSL message?
I have an RSSL Consumer client using the Reuter's Domain Model. I also have an RSSL Producer server that is part of a testing harness to test my client. The consumer is successfully able to login, request and process source directory information, and request and process dictionary information, and I have tested this…
-
2 RICs 510500.SS/SSd is showing different values in raw data as per client, the value of FID 1352 on
510500.SS (level 1) <0x1B>$*5<0x1B>}<0xC4><0xE3><0xF8><0xFD>500ETF 510500.SSd (level 2) <0x1B>%0<0xE4><0xB8><0xAD><0xE8><0xAD><0x89>500ETF Raising in behalf of client, Yong Liu from Morgan Stanley. Client is an Elektron Real time feed client.
-
How do I clean the dataset?
Hi Dev Community, Just a little background to my coding experience, I'm fairly green with regards to coding in Python. Picking up things and learning as I go along. I've only really got experience with VBA and am self taught. Apologies in advance if the solution is pretty obvious. I'm trying to pull some historical FX data…
-
RSSL_INIT_ENCODE_ITERATOR missing initializer
The RsslEncodeIterator structure is RTSDK 2.0.6 typedef struct RsslEncIterator { RsslBuffer *_pBuffer; /*!< Buffer to encode into, should be set with rsslSetEncodeIteratorBuffer(). RsslBuffer::length should indicate the number of bytes available.*/ char *_curBufPtr; /*!< The current encoding position in the associated…
-
ETA Publisher - optimizing for one-to-many event publish scenario - EncodeIterator/TransportBuffer/e
We have a Java ETA Publisher application that pushes MarketPriceUpdates/Refreshes to subscribing clients and I'm unclear on how whether we can minimize calls to EncodeIterator when publishing a single event update for a RIC to multiple clients. High-level/Simplified Application flow is as follows: EncodeIterator ei =…
-
calling pool.releaseEncoder invalidates msgType in encoded message
Examples in manual e.g. Example 7 sec 6.14.4.4 show calling pool.releaseEncoder(encoder) after the call to getEncodedObject() but this appears to invalidate the msgType in message causing a problem if this is then passed to registerClient.
-
MRN_STORY JSON FRACTION encoding issue with story body and headline
Hi, I am using emaconsumer demo app to subscribe to MRN_STORY on TREP-RT feed to receive news and I am seeing that sometimes the headline or body text appears to have special characters instead of printable characters. The apostrophe is converted to a different character set. This is how it looks when displayed in the…
-
Charset encoding problem
Hi, I'm trying to make a simple call to the API to do entity tagging in a raw text in French (there are lots of accented characters). I already read the API documentation, I set the header "Content-Type" to "text/raw; charset=utf-8", I checked that the text is certainly encoded with UTF-8. Here are the headers of my POST…
-
How to encode msgkey attribute in resfresh message in UPA 8.0 JAVA
I want to encode a msgkey attribute into a refresh message, and this msgkey is directly get from the request message. I use below way, but it will effect the refresh message body (all seriesentry will null ), could someone help check it and provide some advice? _refreshMsg.msgClass(MsgClasses.REFRESH);…
-
IllegalArgumentException thrown byElementEntry.encodeInit
I have an issue encoding an element list. I have a test whereby I have a message buffer 1024 bytes, the message contains an eleement list, containing a string element followed by an element containing a vector. The test is to encode refresh messages increasing the string element by one byte. ElementEntry.encodeInit throws…
-
Fragmenting Fields across messages
If I have a message with a fieldlist payload how should I encode a map or vector field that is larger than the message buffer? Can I assume that the following sequence will work? First message contains a fieldList ending with the first fragment of the map field Second message contains a fieldList with the first field being…
-
How to recover from encodeSummaryDataComplete failure?
If when encoding a map or a vector you call encodeSummaryDataComplete(encodeIterator,true) and you receive a BUFFER_TOO_SMALL the encodeIterator becomes 'broken' and you cannot complete the encoding. , Our application expects to be able to encode a message in a single pass. In order to avoid unnecessary garbage collection…
-
Encode RsslSeries into RsslElementList
Hello Trying to encode RsslSeries as an entry of RsslElementList and getting RSSL_RET_INVALID_DATA error, embedding RsslArray works fine though. Is embedding RsslSeries into another container not supported by the UPA C Toolkit? Thanks.
-
How to use a pre-encoded ElementList in a message Payload?
I have entire ElementList pre-encoded in a buffer. How that buffer should be used to populate the list in a message payload? RsslBuffer listBuffer; // a buffer with encoded element list in it, 160 bytes RsslElementList list; rsslClearElementList(&list); list.flags = RSSL_ELF_HAS_STANDARD_DATA; list.encEntries =…
-
ElementList encoding bug?
For quite some time I have been investigating a weird bug in encoding ElementList with UPA C -- being wrapped, ElementList encoding routines do not finalize encoding of the container. I was able to narrow the problem to a small code snippet, please see the attached source file: one can see, that every encoding routine call…
-
How to Encode blank data with RSSL_DT_UINT DataType in FieldEntry
I have a question, could you please help me? I want to know how to encode blank data with RSSL_DT_UINT DataType in FieldEntry. I try to do it like this: fieldEntry.fieldID = 3263; fieldEntry.dataType = RSSL_DT_UINT; rsslEncodeFieldEntry(&encIter, &fieldEntry, NULL); But I can’t get the expected result. Could you provide me…
-
Question About Encoding Set Defs
There are flags HAS_SET_DEFS in some containers (Series, Map and Vector). And there is a encSetDefs buffer in the container’s members. Take RsslSeries as an example: { RSSL_SRF_NONE = 0x00, RSSL_SRF_HAS_SET_DEFS = 0x01, RSSL_SRF_HAS_SUMMARY_DATA = 0x02, RSSL_SRF_HAS_TOTAL_COUNT_HINT = 0x04 } RsslSeriesFlags; typedef struct…
-
Is it possible to create pre-encoded RWF FieldList data?
I am using UPA Java and for ANSI Page payload we could use Msg.encodedDataBody(Buffer encodedDataBody) to encode pre-encoded data, however I am not sure if we can do the same for RWF data (e.g. FieldList)?