jmstemplate Questions
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
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
5
I am new to working with queues.
I am able to successfully post messages and receive them synchronously
However, I am now trying to async now.
The reference links provided by sqs suggests using j...
Ecstatics asked 26/8, 2015 at 9:27
2
Solved
I am trying to get all messages from the queue in synchronous mode using Spring JMSTemplate.receive(String) method.
The problem is that I get always only one message. Here is the code:
@Transacti...
Mathieu asked 30/7, 2013 at 11:8
1
I am trying to insert message header into amq. There is no specific method in JMSTemplate for setting header in amq. when I set like this it will save in StringProperty instead of header. For savin...
Pedlar asked 20/9, 2017 at 18:21
4
Solved
There are two programs: subscriber and publisher...
Subscriber is able to put the message onto the topic and the message is sent successfully.
When I check the activemq server on my browser it show...
Rentsch asked 26/1, 2012 at 9:11
3
Solved
I'm new to Java. I've only been programming it for about a year. What does Spring mean by the use of templates? In Spring, there is jdbc-templates, jms-templates etc.. What are template classes in ...
Prejudicial asked 31/1, 2014 at 20:15
5
Solved
I have a class that after it does some stuff, sends a JMS message.
I'd like to unit test the "stuff", but not necessarily the sending of the message.
When I run my test, the "stuff" green bars, but...
Mariahmariam asked 2/12, 2008 at 22:1
1
I have a web application that runs text processing jobs in the background once a message is received on an ActiveMQ which is listened to by a Spring MessageListener....the problem I"m encountering ...
Pit asked 28/10, 2010 at 20:18
2
I wrote a JMS application that runs within a web service in Glassfish (also deployed it in JBoss), I noticed that after I process several messages through a MessageListener MDP, the JMS server runs...
Germanic asked 1/11, 2010 at 23:58
1
Solved
as my question title, how to configure jms template at spring for weblogic?
i follow an example at some website, but spring always complain about defaultDestination at JmsTemplate
how to configu...
Houseyhousey asked 7/11, 2010 at 11:30
3
Solved
How to do unit testing with JMS ? Is it some de-facto for this ?
I googled something
- Unit testing for JMS: http://activemq.apache.org/how-to-unit-test-jms-code.html
- jmsTemplate: activemq.apach...
Dzerzhinsk asked 20/5, 2010 at 1:3
1
© 2022 - 2024 — McMap. All rights reserved.