push & pop action (to get process name in audit)

This commit is contained in:
2023-02-24 15:44:10 -06:00
parent 94a970b8e8
commit 9be0eb9e76

View File

@ -131,6 +131,8 @@ public class SQSQueuePoller implements Runnable
runProcessInput.setFrontendStepBehavior(RunProcessInput.FrontendStepBehavior.SKIP);
runProcessInput.addValue("bodies", bodies);
QContext.pushAction(runProcessInput);
RunProcessAction runProcessAction = new RunProcessAction();
RunProcessOutput runProcessOutput = runProcessAction.execute(runProcessInput);
@ -156,6 +158,10 @@ public class SQSQueuePoller implements Runnable
{
LOG.warn("Error receiving SQS Messages.", e);
}
finally
{
QContext.popAction();
}
}
}
catch(Exception e)