-
Help with segfault on rsslEncodeMapComplete after having added map summary data
Hi. I previously had an UPA server for testing that successfully was able to encode the Reuter's Domain Model Market By Price Refresh and Update messages. They were consumed successfully by an rssl consumer. I recently added summary data to the map that is the payload of this message. I didn't change the surrounding code…
-
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…
-
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…
-
2 RICs 510500.SS/SSd is showing different values in raw data as per client, the value of FID 1352...
... on 510500.SSd has correct encoding for Chinese character but Level 1 RIC 510500.SS doesn’t. 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…
-
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…
-
ETA Publisher - optimizing for one-to-many event publish scenario - EncodeIterator/TransportBuffe...
...r/etc. 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…
-
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.
-
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…
-
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…
-
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…
-
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…
-
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…
-
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.