Class PaymentReceiverEventPublisher

java.lang.Object
com.bank.payment.publishers.PaymentReceiverEventPublisher

@Component public class PaymentReceiverEventPublisher extends Object
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 Details

    • PaymentReceiverEventPublisher

      public PaymentReceiverEventPublisher()
  • Method Details

    • publishPaymentReceiverEvent

      public void publishPaymentReceiverEvent(AccountEventDto accountEventDto, ActionType actionType)
      Publishes a payment receiver event to the payment receive exchange.
      Parameters:
      accountEventDto - the account event data
      actionType - the type of action (CREATE, UPDATE, etc.)