spring-jms Questions

1

Solved

We just upgraded to Spring 4 and JMS 2.0. We are using a CachingConnectionFactory and a JmsTemplate to publish messages and noticed that when publishing to a destination, the first attempt works an...
Rabelaisian asked 1/7, 2014 at 1:40

1

Solved

I was reading spring documentation on DefaultMessageListenerContainer It says "Note: Don't use Spring's CachingConnectionFactory in combination with dynamic scaling. Ideally, don't use it with a m...
Balzer asked 24/2, 2014 at 9:59

2

Solved

I am using Spring Framework to concurrently consume messages off of a JMS queue using a DefaultMessageListenerContainer. I want the ability to create new instances of the beans that are autowired f...
Physical asked 14/3, 2013 at 17:5

1

Solved

I have a DefaultMessageListenerContainer configured as follows: DefaultMessageListenerContainer container = new DefaultMessageListenerContainer(); container.setConcurrentConsumers(4); container.se...
Thermobarometer asked 26/1, 2014 at 6:38

2

Solved

I'm using Spring JMS and ActiveMQ to send message from one sender to multiple listeners asynchronously. All listeners subscribe to an ActiveMQ Topic so that the message can be delivered to them. I ...
Morisco asked 18/11, 2013 at 22:13

2

Over and over I'm getting this error: 10:37:21,270 ERROR DispatcherServlet:466 - Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configur...
Inge asked 17/10, 2013 at 8:45

4

Solved

How do I set the redeliveryPolicy in ActiveMQ on a Queue? 1) In the doc, see: activeMQ Redelivery, the explain that you should set it on the ConnectionFactory or Connection. But I want to use diff...
Mahmud asked 16/3, 2011 at 23:33

4

Solved

i created a simple producer consumer simulation based on spring, jms and activemq, i'm trying to reach high performance from both sides, producers and consumers, Connection settings : <tx:anno...
Tavares asked 14/8, 2011 at 10:19

1

I have a DefaultMessageListenerContainer, which is (in my opinion) not scaling up. The Container is defined to listen on a queue, where 100 messages are located in. I would expect, that the Conta...
Knotweed asked 25/9, 2012 at 12:41

2

Solved

This is quite a common problem and I have found plenty solutions that do not work for me on the web. I am declaring: <dependency> <groupId>org.springframework</groupId> <art...
Roughneck asked 24/9, 2012 at 11:24

1

Solved

In the following test I'm trying to simulate the following scenario: A message queue is started. A consumer designed to fail during message processing is started. A message is produced. The consu...
Quaternary asked 26/3, 2012 at 11:13

1

Solved

I am using Spring 3.0.2. I have two relatively simple bean definitions. One has a @PostConstruct (bean 'A') which triggers a chain of events that the @DependsOn bean (bean 'B') needs to be prepared...
Amble asked 11/1, 2012 at 16:17

1

I'm working on a message based service that queues all incoming requests and handles them later. What is the best practice for handling errors. For example malformed messages or communication error...
Shenika asked 9/8, 2011 at 9:0

2

Solved

I am setting up a JMS subscriber listener as follows with the goal of achieving a pool of 5 threads listening to topATopic, however, what I see at runtime is multiple consumers processing the same ...
Gilthead asked 27/4, 2011 at 16:47

0

Anybody know of a good resource for a detailed (more so than the Spring Batch docs) look at the uses of JMS Item Writer/Reader in Spring Batch? Specifically, and because I'm being tasked with tryi...
Marj asked 2/8, 2010 at 21:29

© 2022 - 2024 — McMap. All rights reserved.