mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
push & pop action (to get process name in audit)
This commit is contained in:
@ -131,6 +131,8 @@ public class SQSQueuePoller implements Runnable
|
|||||||
runProcessInput.setFrontendStepBehavior(RunProcessInput.FrontendStepBehavior.SKIP);
|
runProcessInput.setFrontendStepBehavior(RunProcessInput.FrontendStepBehavior.SKIP);
|
||||||
runProcessInput.addValue("bodies", bodies);
|
runProcessInput.addValue("bodies", bodies);
|
||||||
|
|
||||||
|
QContext.pushAction(runProcessInput);
|
||||||
|
|
||||||
RunProcessAction runProcessAction = new RunProcessAction();
|
RunProcessAction runProcessAction = new RunProcessAction();
|
||||||
RunProcessOutput runProcessOutput = runProcessAction.execute(runProcessInput);
|
RunProcessOutput runProcessOutput = runProcessAction.execute(runProcessInput);
|
||||||
|
|
||||||
@ -156,6 +158,10 @@ public class SQSQueuePoller implements Runnable
|
|||||||
{
|
{
|
||||||
LOG.warn("Error receiving SQS Messages.", e);
|
LOG.warn("Error receiving SQS Messages.", e);
|
||||||
}
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
QContext.popAction();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(Exception e)
|
catch(Exception e)
|
||||||
|
Reference in New Issue
Block a user