Class PaymentSenderEventPublisher

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

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

    • PaymentSenderEventPublisher

      public PaymentSenderEventPublisher()
  • Method Details

    • publishPaymentSenderEvent

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