I am trying to publish a message using ActiveMQ with Spring.
I have written a producer and consumer class.

when I run the program, I get the below message/error.

Failed to start JMX connector...