AxonFramework / AxonFramework

Framework for Evolutionary Message-Driven Microservices on the JVM
https://axoniq.io/
Apache License 2.0
3.32k stars 789 forks source link

Axon aren't build with RabbitMQ #417

Closed PiemonJ closed 6 years ago

PiemonJ commented 6 years ago

i jave design connectionFactory,Queue,Exchanger and Building. and then follow the document ,to configure SpringAMQPMessageSource,and in the application.yml,i have configuration as follow: axon: amqp: exchange: topic.event eventhandling: processors: task:(this name is using @ProcessingGroup to made) source:SpringAMQPMessageSource

but i cant receive message from RabbitMQ,it's receive within memory all the time.but if i publish event use rabbitTemplate,then i can receive MQ's message. my version is 3.0.6.i dont know if this a bug?? i have debug ,to find eventProcessors field of SpringAMQPMessageSource instance is null ,but the processors is regist on EventHandlingConfigure. please help me ?thanks.

smcvb commented 6 years ago

Have you added the axon-amqp dependency to your pom?

Apart from that, questions like these are better place on the Axon Usergroup or Stack Overflow, as it's probably not an Axon Framework issue, but set up issue. Hence, I'm closing this issue.

PiemonJ commented 6 years ago

thanks,i have found the problem,i use the topic queue of rabbitMQ,but the routekey is defined by MessageConverter that the router is the processor name. i hope the v3.0,6 document can write down the knowledge.