How to put a timeout on receiving messages in asynchronous mode in C Solace API?

Hi @TomF,
Thank you for the Answer. I am clear as to how to approach the issue i am facing.
Apart from it, I want to understand the use of TTL.
Is it wrong to use the way i have used it.
When to use TTL.
Can you please direct me to any document that explains on Different Load Balancing technique use by Solace.
Thanks,
Pooja.