Guaranteed Document with Discard set to false

We publish a Guaranteed document with Discard set to false and a trigger is subscribed to this document which invokes another service but we no longer need the service or this trigger. We cannot stop this document being published – we just simply want this document to be discarded by the broker. (We were under the impression that a broker document that has not subscription would be discarded from the broker automatically). Since the document is guaranteed and never expires I am afraid that all these published documents would get stored in document storage and grow in size, which we do not want that to happen. Could someone enlighten me a bit more as to what exactly happens to these documents. We don’t have cluster environment.



If there is no subscriber it will be discarded on the broker regardless of any settings on the document.