Open channaitfac opened 3 years ago
Hello, I have the same issue... do you found a fix about it ? This is my log trace
java.lang.RuntimeException: No method for io.eventuate.tram.messaging.common.MessageImpl@56300144[payload={"transfertId":4,"totalAmount":{"amount":1700},"accountNumber":"ORB01"},headers={command_saga_id=00000188cdfe7a0c-928d107a1b140000, PARTITION_ID=07c8c0a2-84a2-4439-a428-a98e537ae86c, DATE=Sun, 18 Jun 2023 10:13:11 GMT, command_type=com.slackdays.revolutservice.command.CreditAccountCommand, command_reply_to=com.slackdays.revolutservice.sagas.CreditAccountSaga-reply, DESTINATION=operationCreditAccount, command_saga_type=com.slackdays.revolutservice.sagas.CreditAccountSaga, command__destination=operationCreditAccount, ID=00000188cdfe8e7b-928d107a1b140000}]
at io.eventuate.tram.commands.consumer.CommandDispatcher.messageHandler(CommandDispatcher.java:61) ~[eventuate-tram-commands-0.32.0.RELEASE.jar:na]
at io.eventuate.tram.sagas.participant.SagaCommandDispatcher.messageHandler(SagaCommandDispatcher.java:38) ~[eventuate-tram-sagas-participant-0.21.0.RELEASE.jar:na]
at io.eventuate.tram.consumer.kafka.EventuateTramKafkaMessageConsumer.lambda$subscribe$0(EventuateTramKafkaMessageConsumer.java:29) ~[eventuate-tram-consumer-kafka-0.32.0.RELEASE.jar:na]
at io.eventuate.messaging.kafka.consumer.MessageConsumerKafkaImpl.lambda$subscribe$0(MessageConsumerKafkaImpl.java:46) ~[eventuate-messaging-kafka-consumer-0.17.0.RELEASE.jar:na]
at io.eventuate.messaging.kafka.consumer.MessageConsumerKafkaImpl.handle(MessageConsumerKafkaImpl.java:99) ~[eventuate-messaging-kafka-consumer-0.17.0.RELEASE.jar:na]
at io.eventuate.messaging.kafka.consumer.MessageConsumerKafkaImpl.lambda$subscribeWithReactiveHandler$1(MessageConsumerKafkaImpl.java:59) ~[eventuate-messaging-kafka-consumer-0.17.0.RELEASE.jar:na]
at io.eventuate.messaging.kafka.consumer.SwimlaneDispatcher.processQueuedMessage(SwimlaneDispatcher.java:72) ~[eventuate-messaging-kafka-consumer-0.17.0.RELEASE.jar:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:1623) ~[na:na]
`
Order Service is creating a new Order successfully and update the 'eventuate.message' correctly. Then Eventuate Tram CDC Service will send that message into Customers Service successfully (via the consumerService topic). Customers Service is producing following exception while it consuming that message. Thanks in advance.