FINERACT-2169: New command processing infrastructure
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
fd45f43f36
commit
8d83b5547c
+2
-1
@@ -58,7 +58,8 @@ import org.springframework.transaction.support.TransactionTemplate;
|
||||
|
||||
@Configuration
|
||||
@EnableJpaAuditing
|
||||
@EnableJpaRepositories(basePackages = { "org.apache.fineract.**.domain", "org.apache.fineract.**.repository" })
|
||||
@EnableJpaRepositories(basePackages = { "org.apache.fineract.**.domain", "org.apache.fineract.**.repository",
|
||||
"org.apache.fineract.command.persistence" })
|
||||
@EnableConfigurationProperties(JpaProperties.class)
|
||||
@Import(JpaAuditingHandlerRegistrar.class)
|
||||
public class JPAConfig extends JpaBaseConfiguration {
|
||||
|
||||
@@ -460,3 +460,8 @@ resilience4j.retry.instances.postInterest.wait-duration=${FINERACT_PROCESS_POST_
|
||||
resilience4j.retry.instances.postInterest.enable-exponential-backoff=${FINERACT_PROCESS_POST_INTEREST_RETRY_ENABLE_EXPONENTIAL_BACKOFF:true}
|
||||
resilience4j.retry.instances.postInterest.exponential-backoff-multiplier=${FINERACT_PROCESS_POST_INTEREST_RETRY_EXPONENTIAL_BACKOFF_MULTIPLIER:2}
|
||||
resilience4j.retry.instances.postInterest.retryExceptions=${FINERACT_PROCESS_POST_INTEREST_RETRY_EXCEPTIONS:org.springframework.dao.ConcurrencyFailureException,org.eclipse.persistence.exceptions.OptimisticLockException,jakarta.persistence.OptimisticLockException,org.springframework.orm.jpa.JpaOptimisticLockingFailureException}
|
||||
|
||||
fineract.command.enabled=true
|
||||
fineract.command.executor=sync
|
||||
fineract.command.ring-buffer-size=1024
|
||||
fineract.command.producer-type=single
|
||||
|
||||
Reference in New Issue
Block a user