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