RabbitMQ connection Error

Hi team,

I have an issue with RabbitMQ connection.
In build.gradle, add following dependencies :
+implementation ‘org.springframework.boot:spring-boot-starter-amqp’
+testImplementation ‘org.springframework.amqp:spring-rabbit-test’
application.properties add:
+spring.rabbitmq.host=localhost
+spring.rabbitmq.port=5672
+spring.rabbitmq.username=guest
+spring.rabbitmq.password=guest

Run application, my application cannot connect to RabbitMQ broker, and get following message:

021-09-27 00:01:33.305 INFO 18944 — [ main] o.s.aop.framework.CglibAopProxy : Unable to proxy interface-implementing method [public final void org.springframework.amqp.rabbit.connection.CachingConnectionFactory.destroy()] because it is marked as final: Consider using interface-based JDK proxies instead!
2021-09-27 00:01:33.305 INFO 18944 — [ main] o.s.aop.framework.CglibAopProxy : Unable to proxy interface-implementing method [public final org.springframework.amqp.rabbit.connection.Connection org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection() throws org.springframework.amqp.AmqpException] because it is marked as final: Consider using interface-based JDK proxies instead!
20
Please help me!!!

Hi,
Could you provide a test project?

Dear Mr Konstantin Krivopustov,
This is my test project:
AccountingTcb.rar (20.1 KB)

Thank you for the test project!
We’ve found a possible cause and will try to fix it in the next release:

Regards,
Konstantin

1 Like

Fixed in Jmix 1.0.3, please update your project.

1 Like

Wow, RabbitMQ is working now!
Good job!
Thank you very much!