Question
PT. Bank Mandiri Tbk
ID
Last activity: 20 Jan 2025 1:33 EST
How to Access Non-PublicAPI like processMessages Method of QueueProcessorDelayedMessageService in Java Step
Hi,
I'm working on understanding the Java code used in the Pega activity pzProcessDelayedQPItems
. Here's the relevant snippet:
com.pega.platform.executor.queueprocessor.internal.QueueProcessorDelayedMessageService service =
((com.pega.pegarules.priv.context.PegaNode) tools.getRequestor().getNode()).getDelayedQueueProcessor();
if (service != null) {
service.processMessages();
}
This code comes from the default Pega Rule activity pzProcessDelayedQPItems
, and I’d like to understand what the processMessages
method is doing in the background. Unfortunately, I cannot find documentation or implementation details for this method in the public API (available under Resources > Engine API).
Does Pega provide a way to inspect non-public APIs like this, or are they deliberately hidden from view?
Any insights or guidance on how to explore or work with this would be greatly appreciated!