Clarification regarding guaranteed documents

As we know Broker stores all the guaranteed documents in the client queue. Once the trigger subscribing to the document calls the service and the service executes succesfully the document is deleted from the client queue on the broker.
My question is what happens in case the service does not execute succesfully, even after all the retries are over. The wM document says that IS rejects the document and acknowledgement is sent to the broker. Are the documents still persisted in the broker or are they rejected? If they are lost is there anyway to retrieve the document?

Thanks,
Pankaj

The document is lost from the Q, if ATC is publishing the document and Logging is enabled, then activation table will hv the integration id and record for that document. you can use that record and republish the failed event. In case of Error, in Activation table END_FLAG = ā€˜Nā€™.