Open valentinacupac opened 1 year ago
Hello @eamtalu! I have one suggestion; you can add `receiveAndConvert("default-bankingkata-queue");` after the publishing method and verify with AssertJ that way:
rabbitMQEventBus.publish(accountOpenedDto); Object message = rabbitTemplate.receiveAndConvert("default-bankingkata-queue"); Assertions.assertThat(message).isEqualTo(accountOpenedDto);
I think it will work fine.
_Originally posted by @JoaoCipriano in https://github.com/valentinacupac/banking-kata-java/pull/117#discussion_r1227428620_
@eamtalu feel free to consider this.
Hi @valentinacupac, sure I will work on this. @JoaoCipriano Thanks for code review, appreciate it. Reg, Amin
I think it will work fine.
_Originally posted by @JoaoCipriano in https://github.com/valentinacupac/banking-kata-java/pull/117#discussion_r1227428620_