I have a java service that returns the number of current events for a given channel in UM. I can see the number during debug mode but when running the service, the output data always resulted in 0. What I’m seeing here is that any nLeafNode functions that returns long value, the pipeline output is always 0. If I use a different nLeafNode function that return a string, then I can see the value correctly. Anyone else experiencing this symptom or is there some sort of a bug within Eclipse IDE.
nLeafNode leaf = null;
long currentEvents = leaf.getCurrentNumberOfEvents();
String outStr = Long.toString(numEvents);