Questions tagged [spring-jms]

Spring provides a JMS integration framework that simplifies the use of the JMS API much like Spring's integration does for the JDBC API.

JMS can be roughly divided into two areas of functionality, namely the production and consumption of messages. The JmsTemplate class is used for message production and synchronous message reception. For asynchronous reception similar to Java EE’s message-driven bean style, Spring provides a number of message listener containers that are used to create Message-Driven POJOs (MDPs).

A getting started guide is available to help understand how these concepts work with a practical example.

Useful links:

1908 questions
5
votes
1 answer

Difference between AUTO_ACKNOWLEDGEMENT mode with and without Spring JMS

I am trying to understand how acknowledgement modes work in JMS. I was reading this source and it hugely confused me as it was contradicting what Spring's documentation says. Sources saying one thing: From…
xabhi
  • 798
  • 1
  • 13
  • 30
5
votes
1 answer

Spring JMS with ActiveMQ

I am getting the following error when trying to post to my queue: Exception in thread "main" org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could…
Harvey Sembhi
  • 287
  • 1
  • 5
  • 13
5
votes
2 answers

Unable to locate Spring Namespace Handler for XML schema namespace (JMS)

I am trying to build an executable jar and get the following error when I run it: INFO: Loading XML bean definitions from class path resource [spring-app.xml] Exception in thread "main"…
Anuja Khemka
  • 265
  • 1
  • 6
  • 17
5
votes
3 answers

Autoconfiguration of ActiveMQ with spring integration

In current versions spring boot can also configure a ConnectionFactory when it detects that ActiveMQ is available on the classpath. If the broker is present, an embedded broker is started and configured automatically. This seems to be true when…
5
votes
1 answer

How to resolve jms server performance issue when client uses temporary replyTo queue?

I am currently building a Mule ESB server application which uses a request-response jms connector. Since it is being used in a highly concurrent environment, we enabled spring jms cache in our MQ config.