Skip to content

Commit

Permalink
FINERACT-1971: Fix loan cob parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsaghy committed Apr 10, 2024
1 parent d7a4e0e commit e96b339
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package org.apache.fineract.cob.loan;

import static org.apache.fineract.cob.loan.LoanCOBConstant.LOAN_COB_JOB_NAME;
import static org.apache.fineract.cob.loan.LoanCOBConstant.JOB_NAME;

import org.apache.fineract.cob.COBBusinessStepService;
import org.apache.fineract.cob.common.CustomJobParameterResolver;
Expand Down Expand Up @@ -87,8 +87,8 @@ public LoanCOBPartitioner partitioner() {
@Bean
public Step loanCOBStep() {
return stepBuilderFactory.get(LoanCOBConstant.LOAN_COB_PARTITIONER_STEP)
.partitioner(LoanCOBConstant.LOAN_COB_WORKER_STEP, partitioner())
.pollInterval(propertyService.getPollInterval(LOAN_COB_JOB_NAME)).outputChannel(outboundRequests).build();
.partitioner(LoanCOBConstant.LOAN_COB_WORKER_STEP, partitioner()).pollInterval(propertyService.getPollInterval(JOB_NAME))
.outputChannel(outboundRequests).build();
}

@Bean
Expand Down

0 comments on commit e96b339

Please sign in to comment.