Posted: 12 Nov 2020 17:21 EST Last activity: 12 Nov 2020 18:55 EST
Asynchronous rest service using separate queue class
Question on Asynchronous rest service using separate queue class.
Service rule is configured as "Execute Asynchronously (Queue For Execution)"
Request Processor use separate class (System-Queue-ExecutionRequest-Service-CreateClaim)
Dequeuing option :-
Maximum number of execution attempts - 3
By default, the ProcessQueue agent from the Pega-IntSvcs Agents rule runs every two minutes.
The first execution of an asynchronous service request occurs, if any error thrown, PR_SYS_QUEUE_EXECREQ_SVC is updated with status "Scheduled" and pyAttempts 1. But agent doesn't pick up the record. It remains scheduled.
This works with below changes but I need to use a separate class in queue processor
Use default Pega class System-Queue-ExecutionRequest-Service-Default in request processor.
ProcessQueue (agent activity) runs on "System-Queue-ExecutionRequest-Service-CreateClaim" class using separate agent.