in service/src/main/java/org/apache/fineract/cn/stellarbridge/service/internal/horizonadapter/HorizonServerPaymentObserver.java [31:44]
void init()
{
try {
final Optional<String> cursor = this.getCurrentCursor();
bridgeConfigurationRepository.findAll()
.forEach(config -> setupListeningForAccount(
StellarAccountId.mainAccount(config.getStellarAccountIdentifier()), cursor));
}
catch (InvalidDataAccessResourceUsageException x) {
//Nothing. If the repository hasn't been provisioned yet, there are no mapped accounts to
//listen in on.
}
}