Class BlockchainPublisherEventHandler
java.lang.Object
org.cardanofoundation.lob.app.blockchain_publisher.service.event_handle.BlockchainPublisherEventHandler
@Service
@ConditionalOnProperty(value="lob.blockchain_publisher.enabled",
havingValue="true",
matchIfMissing=true)
public class BlockchainPublisherEventHandler
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleLedgerUpdateCommand(org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.ReportLedgerUpdateCommand command) voidhandleLedgerUpdateCommand(org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.TransactionLedgerUpdateCommand command)
-
Constructor Details
-
BlockchainPublisherEventHandler
public BlockchainPublisherEventHandler()
-
-
Method Details
-
handleLedgerUpdateCommand
@EventListener @Async public void handleLedgerUpdateCommand(org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.TransactionLedgerUpdateCommand command) -
handleLedgerUpdateCommand
@EventListener @Async public void handleLedgerUpdateCommand(org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.ReportLedgerUpdateCommand command)
-