Events expiration time

Hi all. I was wondering if it is possible to set an expiration time in the events published or delivered by a broker client (using the C or Java API). I was searching for it in the documentation and I could find anything.

I have a broker client which publish and event, and another broker clients which is suscribed to the previous events, receives it, process and delivers another event containing the answer. The first broker client has a timeout, and I dont want to leave ‘orphaned’ events that will never be got.