spring-jms Questions

9

Solved

We're trying to set a delay on some JMS messages, so that a message will only be added to the queue/ received by the listener after x time. So far we've tried 2 approaches that didn't work. 1) Acc...
Reverie asked 4/8, 2014 at 14:31

2

We're trying to set a re-delivery policy for ActiveMQ using spring jms. We've set an exponential back-off for the re-deliveries, but it seems to be ignored - the intervals between the message re-de...
Nevernever asked 11/5, 2014 at 14:45

4

Solved

While running integration tests in my application, I get below error messages in the failsafe test report for one of my integration test: listener.DefaultMessageListenerContainer,WARN,Setup of JM...
Antecedent asked 29/1, 2014 at 6:26

1

Message Id gets overridden when sending message to Azure service bus using Spring JMS. Because of this reason, duplicate detection is not working as expected. I have read JMS documentation where it...

3

Solved

I have a requirement to add multiple listeners as mentioned in the application.properties file. Like Below, InTopics=Sample.QUT4,Sample.T05,Sample.T01,Sample.JT7 NOTE: This number can be lot mor...
They asked 3/12, 2015 at 10:16

4

Solved

With Spring4 + ActiveMQ I want to receive a JMS Message from a Queue and convert to POJO automatically. I added the MappingJackson2MessageConverter to DefaultJmsListenerContainerFactory: @Bean pub...
Quitrent asked 6/4, 2016 at 9:50

5

Solved

When I use Spring to listen to JMS messages, I receievd the above error. I am wondering how to add an Errorhandler into the JMS listener?
Botch asked 19/1, 2012 at 7:38

1

I have Spring Boot application which listen IBM MQ Queue via @JmsListener annotation as below from component class. The MQ properties (hostname, channel, port, etc) are set from yaml file. @JmsLi...

2

The Spring's DefaultMessageListenerContainer (DMLC) has concurrentConsumer and taskExecutor property. The taskExecutor bean can be given corePoolSize property. What is then the difference between s...
Policyholder asked 10/4, 2013 at 9:15

1

Solved

I'm new to SpringBoot. Trying to build a simple non-web process where I listen to a MQ Queue and process the messages received. I tried various ways to acheive this in SB, but unfortunately I cant ...
Ass asked 5/5, 2021 at 4:0

2

Solved

I'm developing Spring Boot application which must connect to several WebSphere JMS connections with different ports or even ip addresses. I need receive and send messages to different queues. I too...
Johst asked 27/3, 2018 at 18:50

2

Solved

I want to be able to set the @JMSlistener destination from an application.properties my code looks like this @Service public class ListenerService { private Logger log = Logger.getLogger(Liste...
Bumper asked 19/3, 2018 at 17:1

2

Solved

I've read several examples about jms support in spring boot. and usually sender, receiver and active-mq(actually it can be any other jms compatible message broker) locates within the same applicat...
Pyrimidine asked 29/1, 2018 at 15:5

1

I have a simple Spring Boot service that listens to an AWS SQS queue using JMSTemplate. Everything works as expected when the message is properly handled. I am using CLIENT_ACKNOWLEDGE so when an...
Nett asked 20/5, 2019 at 21:55

2

Solved

I am trying to understand JMS. What is the difference between ActiveMQ and JMS can pool the data from NON ActiveMQ with ActiveMQ plugin in Spring? Thanks ,In advance
Rakish asked 5/9, 2015 at 22:19

2

I have read a few discussions and forums but still fail to understand which one is better rabbitmq vs activemq. I have heard the delay in rabbitmq is more because all traffic is first diverte...
Snoddy asked 21/10, 2017 at 20:29

3

Solved

I had the following xml code in my spring-config.xml <jms:listener-container acknowledge="auto" connection-factory="cachedConnectionFactory" container-type="default" error-handler="consumerEr...
Winkle asked 19/2, 2014 at 13:17

4

Solved

In my spring boot application i configure two different instances of MQQueueConnectionFactory (different id) as it is a need of the application. For that i have added ibm client jars. I have also ...
Ned asked 22/10, 2015 at 7:1

2

Solved

I'm completely new to Spring JMS. I'm running a Spring JMS simple chat application using ActiveMQ Artemis. After calling send() I'm getting this: WARN: AMQ212054: Destination address=examp is bloc...
Limburger asked 14/1, 2020 at 7:17

4

Solved

I have requirement to move messages from queues on one ActiveMQ instance to another ActiveMQ instance. Is there a way to connect to two different ActiveMQ instances using spring boot configuration?...
Ackack asked 13/4, 2017 at 18:11

3

Solved

I asked basically the same thing a few months ago with this post: How should a Spring JMS listener handle a message with an empty payload?, but all I got was a measly comment suggesting I "re-write...
Yuonneyup asked 4/8, 2016 at 16:53

3

Solved

I have been struggling with this for a long time now. I have an IBM Websphere MQ, which uses EJB and MDB The following is where the ejb mdb is configured. <?xml version="1.0" encoding="UTF-8"...
Hebert asked 11/6, 2019 at 4:55

3

While subscribing message using DefaultJmsListenerContainerFactory in spring and camel using failover activemq transport I am continuously getting below INFO messages. 2016-08-25 15:00:07,235 [Ac...
Jobyna asked 25/8, 2016 at 19:20

1

I use Spring + Hibernate + JPA in my application. I need to read the message from Websphere MQ and insert the message to DB. Sometimes there may be continuous messages available and sometimes very...

3

I can write instances of multiple types to a given destination, e.g.: JmsTemplate template = ... Alpha alpha = new Alpha(...); Beta beta = new Beta(...); template.convertAndSend("my-destination",...
Kaiser asked 7/3, 2017 at 19:18

© 2022 - 2024 — McMap. All rights reserved.