It is my understanding that when a Consumer is set to operate in APIDispatch mode (which is the default), a new internal thread is created to manage VA reactor and it dispatches messages to the callbacks on registered Consumerclient object. Now I would expect this thread to continue to run and dispatch updates as they are received from the producer. It seems like if the main run were to exit, this VA rector thread shutdowns automatically. Isn't there a need to invoke any stop() to shutdown this thread or it that functionality in the Consumer Destructor()?
In the EMA samples just to receive the callback, it seems one needs to have a sleep in the main thread to see the callback is invoked.