spring-jms Questions

1

Solved

I am using a @JmsListener annotated method listen to JMS messages as shown below. @JmsListener(destination="exampleQueue") public void fetch(@Payload String message){ process(message); } Wh...
Torsion asked 17/11, 2016 at 12:12

3

Solved

I have a good working XML configuration for Camel Context that uses JNDI with Spring Later Solace.JndiObjectFactoryBean gets used as connectionFactory <bean id="Solace.JmsCompone...
Agenesis asked 9/2, 2016 at 17:49

3

Solved

I would like to use the new annotations and features provided in Spring 4.1 for an application that needs a JMS listener. I've carefully read the notes in the Spring 4.1 JMS improvements post but ...
Patric asked 17/9, 2014 at 20:38

4

I'm trying to convert a java object to json format using mappingjackson2messageconvertor but looks like it is not converting to json object instead throwing nullpoint exception error. Wondering wha...
Reprobative asked 3/9, 2015 at 20:42

1

Solved

Is there a specific way to accomplish this? I tried to find a solution on here but couldn't find what I need. I have a Spring Boot application that will be accepting multiple arguments from the com...
Rifkin asked 10/8, 2016 at 0:3

1

Solved

I am getting into a project that implemented an IBM MQ listening Spring JMS application and I have troubles understanding the "receiveTimeout" in the DefaultMessageListenerContainer. Compared to s...
Quillen asked 3/8, 2016 at 14:48

1

My application is reading messages through Jms MessageListener class and at some point of time it is throwing TaskRejectedException. I know most of you will say that the number of threads is exceed...
Pitcher asked 8/7, 2016 at 5:24

2

The java doc here related to Spring CachingConnectionFactory has comment : NOTE: This ConnectionFactory requires explicit closing of all Sessions obtained from its shared Connection. This is the...
Skyros asked 18/9, 2013 at 2:47

2

I've recently read a lot about best practices with JMS, Spring (and TIBCO EMS) around connections, sessions, consumers & producers When working within the Spring world, the prevailing wisdom s...
Apply asked 6/9, 2014 at 11:30

1

Solved

I am trying to explicitly set deliveryMode to NONPERSISTENT and send it to ActiveMQ. Here is my Spring JMS configuration: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www....
Zoellick asked 22/3, 2016 at 10:14

1

Solved

I am using spring boot version 1.3.2. I am using @JmsListener to consume message from activemq for the message that I created/produced using JmsTemplate. Here is the code: @JmsListener(destination...
Bedivere asked 16/3, 2016 at 21:1

2

We currently use JMS API with ActiveMQ broker, looking over to move to RabbitMQ. Compared to openWire vs amqp which one would give best performance with java client-producer. I Couldn't find a comp...
Consignee asked 5/11, 2013 at 9:9

2

Issue: Getting resource exception at runtime attempting to connect to a websphere mq to get a jms message using spring. I just can't determine what I am missing? Description: Attempting to set up ...
Blinders asked 27/8, 2015 at 19:12

1

Solved

What are the advantages of using DefaultJmsListenerContainerFactory over DefaultMessageListenerContainer ? If i configure DMLC directly , i do get a handle to check the status by calling isRunnin...
Bondmaid asked 29/10, 2015 at 5:57

2

Solved

I am writing a new application using spring and JMS. Myintent is to use Spring's Asynchronous Reception - Message-Driven POJOs. I get the following error. org.springframework.jms.listener.DefaultM...
Resigned asked 13/12, 2014 at 7:28

2

Solved

I'm using sendAndReceive from JmsMessagingTemplate in an MVC controller but if no reply message is sent it seems to keep waiting on a reply forever. The documentation states that: Returns: the ...
Ramsdell asked 27/10, 2015 at 18:20

1

Solved

I have a Spring application that has methods annotated with Spring's @JmsListener. The application is deployed on multiple nodes. On some specific nodes I need to disable the JMS listener so that i...
Iliac asked 21/9, 2015 at 22:32

2

Solved

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" org.spring...
Prestidigitation asked 16/9, 2014 at 21:46

2

Solved

What is the main difference between using sessionTransacted=true (in JmsTemplate and/or DefaultMessageListenerContainer) and using JmsTransactionManager? Is using sessionTransacted=true enough for ...
Bacon asked 23/5, 2014 at 18:47

1

Solved

I'm trying to configure JMS with Spring Integration and an ActiveMQ Message Broker. My outbound channel should be backed by a JDBC Message Store to prevent data loss e.g. the broker or my applicati...
Complexion asked 28/4, 2015 at 8:15

1

Solved

At the Moment we design and plan to transform our system to a microservice architecture pattern. To loose coupling we think about an event driven design with an JMS Topic. This looks great. But i...
Dentelle asked 21/4, 2015 at 14:49

2

Solved

this is my first time with Spring JMS (and with JMS in general) and I have some doubts related the concept of the JmsTemplate callback. I know that the JmsTemplate is a class provided from Spring ...
Ambulatory asked 5/4, 2015 at 16:4

1

Solved

I have a spring JMS listener which is listening to queue . Once the message arrives at the input queue , it does certain processing on the message and puts the messages to multiple other queues for...

1

I'm working on a spring boot application in which I intend to consume JMS messages from multiple queues - but I'd like to control the overall number of executing threads processing these messages a...
Marketing asked 12/9, 2014 at 21:37

1

I would like to use Spring Messaging to create a real time notification system for logged users for my webapp. I defined a AbstractWebSocketMessageBrokerConfigurer as follows: @Override public void...
Christchurch asked 5/9, 2014 at 8:22

© 2022 - 2024 — McMap. All rights reserved.