spring-jms Questions

1

Solved

So, i used concurrency in spring jms 50-100, allowing max connections upto 200. Everything is working as expected but if i try to retrieve 100k messages from queue, i mean there are 100k messages o...
Faveolate asked 11/12, 2018 at 15:39

3

I am using Spring(boot) on my project and I access a JMS Queue (ActiveMQ) using : @JmsListener(destination = "mydestinationQueue") public void processMessage(String content) { //do something } ...
Bonaventura asked 15/9, 2015 at 14:12

0

I'm trying to shutdown a Java application which has 1 @JmsListener running. It doesn't matter how long I wait, but it will never stop. It eternally hangs on the doShutdown of DefaultMessageListene...
Sequential asked 4/10, 2018 at 13:26

1

Our project is to integrate two applications, using rest api of each, using JMS(to provide asynchronous nature) and spring batch to read bulk data from the JMS queue and process it and then post it...

1

Solved

I need to listen to multiple queues (exists in same Queue Manager). I have the working spring boot application code for listening to single queue. But is there any way I can connect to multiple que...
Rhynchocephalian asked 19/4, 2018 at 0:40

3

We communicate with the third party using IBM MQ in request/reply fashion. We send them request and they give us reply. Current we both have a simple java based native IBM MQ application. We are p...
Levulose asked 6/3, 2018 at 21:19

2

I'm studying the Spring Boot and JMS example and yes, I'm rather new on this Since we work with Oracle, I would like to migrate the Spring Boot & JMS example from ActiveMQ to Oracle Advanced Q...
Deckhouse asked 17/4, 2017 at 19:46

2

Solved

Our system will not shutdown when a "Stop" command is issued from the Tomcat Manager. I have determined that it is related to ActiveMQ/Spring. I have even figured out how to get it to shutdown, how...
Annisannissa asked 4/6, 2014 at 23:51

1

Solved

I have a JMS producer sending 2 kinds of messages: business logic and heart beat messages. Currently, both are handled by the same receiver, but I am now trying to have dedicated classes for each b...
Cuvette asked 27/9, 2017 at 16:56

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

1

Solved

I am reading official get started article about how to start spring-jms application https://spring.io/guides/gs/messaging-jms/ @EnableJms triggers the discovery of methods annotated with @JmsL...
Laughry asked 21/8, 2017 at 11:31

6

Solved

Just starting to get my head around getting JMS Acknowledgements working in Spring. So far I have a consumer working perfectly, with the exception that when I don't acknowledge the message, it's st...
Levator asked 1/2, 2012 at 12:4

3

Solved

I have two Spring Boot applications running on one server. Both use embedded ActiveMQ JMS. I want to have separate JMS instance for each application. How could I set the port for each of them? Is t...
Swint asked 8/3, 2017 at 20:45

3

Solved

I am trying to listen to topic using the below snippet. However its listening to queue by default. There is no xml config in this case. I am completely relying on annotations. Moreover I have relie...
Filmy asked 20/10, 2016 at 2:46

2

I am using JMS to send/receive messages to my SQS queue, however i am unable to redeliver the message when there is an exception even while using client_acknowledge. How to achieve this? I tried a ...

2

Solved

I am trying to create example for publish-subscribe based on @JmsListener annotation: https://github.com/lkrnac/book-eiws-code-samples/tree/master/05-jms/0515-publish-subscribe Relevant code snipp...
Proulx asked 17/5, 2015 at 19:15

1

Solved

I am using RabbitMq(with JMS) with jmsTemplate I am able to Consume Message from RabbitMq Queue But it is taking acknowledgment AUTO. I have Search API for it but not able to find it out. How can...
Almazan asked 9/4, 2017 at 9:52

1

Solved

I have a Spring Boot application which listens for messages from an IBM MQ input queue, does some processing of the messages and then puts the messages to an output queue. Can application like th...

4

Solved

hi I am new to Spring JMS and websphere MQ. Can Any one give me step by step processs or example how to receive message from websphere MQ and be able to print that message in console thanks u very ...
Commission asked 25/1, 2013 at 14:14

1

Solved

I want to write test for something like below; There is a listener called state-info-1 in src/main. It does some changes to any message it gets and publishes the new message on activemq topic sta...
Manage asked 15/3, 2017 at 7:37

3

Solved

The goal is to rollback all/any transactions in case of failure. But this doesn't work as expected. We use Spring MVC + JMS + Service + Mybatis. In the logs, the JMS is set to rollback, but the ro...
Oration asked 7/3, 2017 at 14:51

2

Solved

I am using the Spring API's JmsTemplate and MappingJackson2MessageConverter (version: spring-jms-4.3.4.RELEASE.jar) to publish messages to an ActiveMQ topic as shown in the below code. TopicPubl...
Chondro asked 21/2, 2017 at 12:25

3

Solved

So question is how to temporary stop and start a jms listener created using spring using the fallowing way : <amq:connectionFactory id="exampleJmsFactory" brokerURL="tcp://${jms.broker.url}" /&...
Chilson asked 10/7, 2012 at 6:32

2

Solved

I am developing an application that uses activemq to exchange messages, some so big that I want to cancel then. We work with the activemq failover transport with two ActiveMQ instances (master/sl...
Greenlaw asked 5/1, 2017 at 11:26

1

Solved

I have created a Spring Boot project using initializer and I am trying to create my first message but I have no idea where to start. I am familiar with the same process using JEE so I guess I need ...
Xantho asked 2/12, 2016 at 12:33

© 2022 - 2024 — McMap. All rights reserved.