Hello, everyone, my application occasionally encounters the following error, and the callback thread quits.
A few days ago when testing, I encountered the same problem. I tried to modified my code several times, but without luck. Several minutes later, I tried my original application, but it runs ok again. So it seems not my application problem. So what does the error above stand for ? Thanks.
Please refer to example 422__MarketPrice__ErrorClient (EMA C++) / example422__MarketPrice__ErrorClient (EMA Java) which can be found in the respective Consumer 400 series sub folders of the SDK
These examples demonstrate how to use an OmmConsumerErrorClient instead of exceptions.
I would also recommend you try to recreate the problem using our basic Batch example - example370__MarketPrice__Batch - to try and eliminate possibility of a bug in your application.
Can you please confirm which error you are referring to?
In the extract above I can only see a ChannelUp event and positive acknowledgement of your Batch Requests?
When you make a Batch Request, the API will close the handle / event stream for the Batch Request. This is because it will create new event streams for each valid item in your Batch and each will have its own handle.
Hi, @Umer Nalla
Sorry for I cannot reproduce this error again and provide more details. If next time it happens again I will add more detail to the question.
One more question, I do found some exception after the acknowledgement message and the parser thread terminates when my code is buggy. Due to the exception mechanism used inside ema sdk, it usually hides where the code triggering the bug. So is there any method to disable the exception mechanism, allowing the application just generates coredump file ? Thanks .