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
0
votes
0 answers

How do I distribute JMS Listener Connections to ActiveMQ Network of Brokers using Spring Boot JMS?

Our JMS Listener application connects to an ActiveMQ network of brokers through a load balancer, which we are told distributes connections amongst brokers in a round-robin fashion. Our spring boot application is creating a connection via the load…
JCB
  • 341
  • 5
  • 18
0
votes
1 answer

Integration with external systems over JMS. Clustered environment

I have an application where I created 2 message listener containers for external system A which listens two queues respectively. Also I have 1 message listener container which running and listening another queue of external system B. I am using…
liotur
  • 809
  • 2
  • 17
  • 36
0
votes
1 answer

@JmsListener not calling from Integration Test

I have integrated ActiveMQ with my Spring-Boot application and it's working fine. But When I'm trying to create Integration test for my @JmsListener with Embedded ActiveMQ it's only looking for external ActiveMQ not internal. So my Case always…
Az.MaYo
  • 1,044
  • 10
  • 23
0
votes
1 answer

Message driven POJO with spring. Can't receive the message

my application deployed on Tomcat am I am trying to send and receive message from remote queue. I already have succeeded to send few messages to remote queue. Now I am trying to build message listener container, however my onMessage(method is never…
liotur
  • 809
  • 2
  • 17
  • 36
0
votes
0 answers

Is MQ Fastpath is default in JMS connector

I am connecting to MQ-9.x using Mule JMS connector and recent days i observed that queue manager going down frequently and it says FAST path application has ended error at QM logs, also no OPPROCS connections are reducing even i brought down my Mule…
NGBeginner
  • 403
  • 1
  • 3
  • 14
0
votes
0 answers

com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2009 using Sprint Boot with JMS (IBM MQ )

I am not sure what I am doing wrong, this issue is very sporadic, I have below code to send JMS Messages on IBM MQ. I am doing it in a seperate theread usign spring @async as below. @Override @Async public void crewSeqAssignOrRemoveBatch(List
sunil
  • 177
  • 2
  • 12
0
votes
1 answer

Does Spring JMS allow consumer priority?

I need to set consumer priority in a Java app consuming from an AMQP broker. I want to use Spring JMS to set the consumer priority. Broker-side, this seems simple; most popular brokers allow setting consumer priority (ActiveMQ, Qpid,…
Zach Valenta
  • 1,783
  • 1
  • 20
  • 35
0
votes
0 answers

ActiveMQ error every 30 minutes -java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB

Our production environment has an ActiveMQ server and 4 machines connecting to it, both as producers and consumers. Every 30 minutes, my ActiveMQ server logs display four lines(Corresponding to each of the four IPs connecting to the…
Jijo Mathew
  • 322
  • 2
  • 15
0
votes
0 answers

Spring Boot JMS ActiveMQ redeliver on failover

I have a consumer application that use Spring Boot JMS to listen message from a queue. This application is connected to an ActiveMQ cluster with failover to have HA. But I have the following problem, when I shutdown one of the broker and the…
0
votes
2 answers

how to register custom converters for spring messaging, web sockets @DestinationVariable or jms @Header

I'm integrating spring web sockets capability into an existing spring mvc application, everything works as expected, except for enabling custom Spring Conversion on my inbound messages via @DestinationVariable. Now I already have custom converters…
0
votes
1 answer

Getting exception on IBM Websphere MQ JMS connection with spring boot

While trying to connect IBM MQ JMS queue from spring boot application , I am getting below exception Caused by: com.ibm.msg.client.jms.DetailedJMSException: JMSCC0005: The specified value '' is not allowed for 'XMSC_WMQ_APPNAME'. I have been…
Rajeev Akotkar
  • 1,377
  • 4
  • 26
  • 46
0
votes
1 answer

Messaging systems reliability

‌I understand that every messaging platform (rabbitmq, activemq) provides some mechanism that guarantees message delivery between the server (rabbitmq) and the consumers, so if a consumer is down, the message will still be in a queue and…
mingo
  • 33
  • 2
0
votes
1 answer

JMS with spring boot, sender and receiver on same package: what is its use?

I am learning JMS with spring boot and nice to know that spring boot comes with embed Active MQ JMS broker. I started from spring page on how to achieve this and it works like charm. Now i went little further and create two separate spring boot…
user9735824
  • 1,196
  • 5
  • 19
  • 36
0
votes
1 answer

Spring JMS concurrency=1 but two receiveMessage invoked

using following JmsListener: @JmsListener(destination = JMS_FOO_QUEUE, concurrency = "1", selector = JMS_BAR_SELECTOR) public void receiveMessage(Message message) { logger.debug("ENTER receiveMessage(), message= {}", message); …
MGorgon
  • 2,547
  • 23
  • 41
0
votes
0 answers

Auto acknowledgement issue in spring integration message driven channel adapter

I am using spring integration message-driven-channel-adapter to consume messages from Tibco queue and have defined our own error channel to handle any errors. The issue which I am facing with this set up is that the messages consumed from queue is…
kattoor
  • 195
  • 14