adamsaghy commented on code in PR #6001:
URL: https://github.com/apache/fineract/pull/6001#discussion_r3436038294


##########
fineract-provider/src/main/java/org/apache/fineract/cob/loan/LoanCOBWorkerConfiguration.java:
##########
@@ -141,20 +141,20 @@ public InitialisationTasklet initialiseContext() {
 
     @Bean
     public ChunkProcessingLoanItemListener loanItemListener() {
-        return new ChunkProcessingLoanItemListener(loanLockingService, 
batchJdbcTransactionTemplate);
+        return new ChunkProcessingLoanItemListener(loanLockingService, 
requiresNewTransactionJdbcTemplate);
     }
 
     @Bean
     public ApplyLoanLockTasklet applyLock() {
-        return new ApplyLoanLockTasklet(fineractProperties, 
loanLockingService, retrieveIdService, batchJdbcTransactionTemplate);
+        return new ApplyLoanLockTasklet(fineractProperties, 
loanLockingService, retrieveIdService, requiresNewTransactionJdbcTemplate);
     }
 
     @Bean
     @StepScope
     public Step applyLockStep(

Review Comment:
   Nice catch!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to