in Education by

I believe that i messed up with configuration but I cannot get where and how to fix it. Here you can find code. org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: Connection refused: connect at at at org.springframework.jms.core.JmsTemplate.execute( at org.springframework.jms.core.JmsTemplate.send( at org.springframework.jms.core.JmsTemplate.convertAndSend( at com.example.jms.activemqpractice.messaging.MessageSender.send( I know that his one could be marked as duplicate, but I could not find answer that would fix my problem. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

Please log in or register to answer this question.

1 Answer

0 votes
by . Connection refused: Simply means that you don't have activemq running on localhost:61616 The tcp:// scheme means the broker must be running already, usually in another process, or you need to add a broker to your application with the tcp transport. If you just want to use an embedded broker within your application, use vm://localhost or vm://localhost?broker.persistent=false if you don't want to persist messages between runs.

Related questions