Package com.bank.payment.publishers
Class AccountEventPublisher
java.lang.Object
com.bank.payment.publishers.AccountEventPublisher
Publisher for sending account-related events to RabbitMQ.
Publishes events to the account event exchange for account creation and updates.
- Since:
- 1.0.0
- Version:
- 1.0.0, 06/26/2025
- Author:
- Fernando Cruz Cavina
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
publishAccountEvent
(AccountEventDto accountEventDto, ActionType actionType) Publishes an account event to the account event exchange.
-
Constructor Details
-
AccountEventPublisher
public AccountEventPublisher()
-
-
Method Details
-
publishAccountEvent
Publishes an account event to the account event exchange.- Parameters:
accountEventDto
- the account event dataactionType
- the type of action (CREATE, UPDATE, etc.)
-