Try sleeping for a short while after setting up the writers (that is, after creating the writers).
A non-durable writer (and as far as i can see, LatencyQos does not set the writers to be durable) will not publish samples to readers it matches AFTER sending the samples originally.
It's not impossible that after creating the writers you sent the samples before the matching process ended.
Here is the scenario being tested:
Used the LatencyQos of the attached xml file (which is from the PerfTests 2.1 in RTI website )
Launching 10 subscribers. 10 subscribers have subscribed one topic ( called DATA).
Waiting for 6 seconds.
Launching 10 publishers. 10 publishers are publishing to the above topic DATA. Each publisher is publishing 100 messages of length 1K.
After publishing, publisher programs are exiting.
Now, each subscriber is supposed to receive 10*100 (1000) messages.
But, subscribers did not receive messages from some publishers.
Is anything to be added in QOS?
Hey,
Try sleeping for a short while after setting up the writers (that is, after creating the writers).
A non-durable writer (and as far as i can see, LatencyQos does not set the writers to be durable) will not publish samples to readers it matches AFTER sending the samples originally.
It's not impossible that after creating the writers you sent the samples before the matching process ended.
Good luck,
Roy.
Thank you Roy. I will try that solution.
-Sudhakar