...
Create a REST controller which accepts the calls to create a bridge for a tenant.
- example: https://github.com/openMF/stellar-connector/blob/master/src/main/java/org/fineract/module/stellar/controller/BridgeController.java (createStellarBridgeConfiguration)
...
jPOS listener saves transaction to transaction DB
- example: https://github.com/openMF/stellar-connector/blob/master/src/main/java/org/fineract/module/stellar/horizonadapter/HorizonServerEffectsListener.java (savePaymentEvent)
creates event using ApplicationEventPublisher
...