0

I'm trying to send messages using the JmsTemplate of Spring boot. I configure everything using the autoconfiguration through properties. These are the properties I set :

  • spring.activemq.broker-url
  • spring.activemq.user
  • spring.activemq.password

I have been able to get this working as desired when I configure the broker-url to tcp://localhost:61616, but whenever I change it to amqp://localhost:5672, I get the error : Failed to connect to [amqp://localhost:5672] after: 10 attempt(s) continuing to retry.

For a project I'm working on, I should be using AMQP.

Any ideas? Thanks in advance!

John
  • 17
  • 1
  • 4

1 Answers1

1

Boot's support for activemq is JMS only.

Spring does not have support for AMQP 1.0 at all; only 0.9.1 with RabbitMQ.

Gary Russell
  • 166,535
  • 14
  • 146
  • 179