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


##########
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:
   minor: Do we use this step code part anywhere now? I see there was a cleanup 
in the ticket, we might check this as well.



-- 
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