Package com.bank.payment.consumers
Class PixConsumer
java.lang.Object
com.bank.payment.consumers.PixConsumer
Consumer for Pix-related events received from account microservice via RabbitMQ.
Listens to the Pix event queue and processes Pix creation events,
converting the received DTO to a model and delegating to the PixService
.
- Queue: ${broker.queue.pixEventQueue}
- Exchange: ${broker.exchange.pixEventExchange} (type: FANOUT)
- Since:
- 1.0.0
- Version:
- 1.0.0, 06/26/2025
- Author:
- Fernando Cruz Cavina
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
listenPixEvent
(PixEventDto pixEventDto) Listens for Pix events and saves them according to the action type.
-
Constructor Details
-
PixConsumer
public PixConsumer()
-
-
Method Details
-
listenPixEvent
Listens for Pix events and saves them according to the action type.- Parameters:
pixEventDto
- the Pix event data received from the queue
-