Package com.bank.payment.publishers
Class PaymentSenderEventPublisher
java.lang.Object
com.bank.payment.publishers.PaymentSenderEventPublisher
Publisher for sending payment sender 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
publishPaymentSenderEvent
(AccountEventDto accountEventDto, ActionType actionType) Publishes a payment sender event to the payment sender exchange.
-
Constructor Details
-
PaymentSenderEventPublisher
public PaymentSenderEventPublisher()
-
-
Method Details
-
publishPaymentSenderEvent
Publishes a payment sender event to the payment sender exchange.- Parameters:
accountEventDto
- the account event dataactionType
- the type of action (CREATE, UPDATE, etc.)
-