unsubscribed events for a published document type

Hi ,

I am trying to get the number of unsubscribed events for a published document type.

Below is the few line of java code.I can see unsubscribed events present (through Enterprise manager) but when I ran my java code, I get 0. Can you please let me know what could be the reason for this.

nLeafNode leafNode = (nLeafNode)realmNode.findNode(publishableDocName);

osEvent = leafNode.getCurrentNumberOfEvents(); —Here I am expecting number of event count, However I am getting zero.

Hi,

I am not an UM expert :slight_smile:
Have you tried looking into the examples coming with UM installation, you might get some hints there.

Thanks