Skip to content

Commit

Permalink
CAUSEWAY-3755: runs listener in new xactn
Browse files Browse the repository at this point in the history
  • Loading branch information
danhaywood committed Jun 1, 2024
1 parent 384e158 commit b62809b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private void logAndCaptureFailure(Throwable throwable, CommandDto commandDto, In

private void invokeListenerCallbackWithinTransaction(RunBackgroundCommandsJobListener listener, List<String> interactionIds, InteractionContext interactionContext) {
interactionService.runAndCatch(interactionContext, () -> {
transactionService.runTransactional(Propagation.REQUIRED, () -> {
transactionService.runTransactional(Propagation.REQUIRES_NEW, () -> {
listener.executed(interactionIds);
});
})
Expand Down

0 comments on commit b62809b

Please sign in to comment.