I am using com.refinitiv.ema:ema:3.7.2.0, but have tried version 3.9.2 as well.
I am using com.refinitiv.ema.access.OmmConsumer#dispatch(long) when running with config.operationModel(OmmConsumerConfig.OperationModel.USER_DISPATCH).
The documentation says that MaxDispatchCountUserThread specifies the maximum number of messages the Enterprise Message API can dispatch in a single call to the OmmConsumer::dispatch().
This is exactly what I need to limit the time spent in a single call to dispatch. But it doesn't appear to work. The documentation claims that the default is 100, but I can see well over 1000 callbacks made in a single call to dispatch. And even if I set the parameter explicitly to 1 in a much smaller example where I subscribe to a single RIC, I can still see 15+ callbacks within one call to dispatch.
This appears to relate to #187. Was that ever addressed?
I am using
com.refinitiv.ema:ema:3.7.2.0, but have tried version3.9.2as well.I am using
com.refinitiv.ema.access.OmmConsumer#dispatch(long)when running withconfig.operationModel(OmmConsumerConfig.OperationModel.USER_DISPATCH).The documentation says that
MaxDispatchCountUserThreadspecifies the maximum number of messages the Enterprise Message API can dispatch in a single call to theOmmConsumer::dispatch().This is exactly what I need to limit the time spent in a single call to dispatch. But it doesn't appear to work. The documentation claims that the default is 100, but I can see well over 1000 callbacks made in a single call to dispatch. And even if I set the parameter explicitly to 1 in a much smaller example where I subscribe to a single RIC, I can still see 15+ callbacks within one call to dispatch.
This appears to relate to #187. Was that ever addressed?