In RTI Connext DDS, you have the option to query for data that is already in the DataReader's queue using a QueryCondition object. This lets you retrieve data from the queue based on the values of one or more fields inside of that data.
In RTI Connext there are three ways to receive data. In this example we illustrate the method known as polling for data, where the application checks for new data calling DataReader's read() or take() method.