Questions tagged [spring-amqp]

Spring components for AMQP-based messaging.

The Spring AMQP project applies core Spring concepts to the development of AMQP-based messaging solutions. It provides a "template" as a high-level abstraction for sending and receiving messages. It also provides support for Message-driven POJOs. Its libraries facilitate management of AMQP resources while promoting the use of dependency injection and declarative configuration. In all of these cases, you will see similarities to the JMS support in the Spring Framework.

The spring-amqp sub-project is a general abstraction, with spring-rabbit being the implementation for RabbitMQ.

Resources

See Also

1608 questions
0
votes
1 answer

Exception Handling in Spring AMQP MessagePostProcessor

I have written a MessagePostProcessor which gets called before any consumer onMessage is called. Now if any exception occurs in my MessagePostProcessor i need to catch the exception otherwise the message will get infinitely requed in Rabbitmq…
Akshat
  • 575
  • 2
  • 12
  • 28
0
votes
1 answer

Rabbit : Set message delivery mode to PERSISTENT when routed to dead letter Q

I just want to get the messages routed to dead letter queue after rejection by rabbit listener to be PERSISTENT (only after the rejection by the listener NOT in the original Q). If there is a way to make the whole dead letter queue…
Shady Ragab
  • 705
  • 10
  • 26
0
votes
1 answer

spring amqp enable retry by configuration and prevent it according to a specified exception

I have the following two cases In case of ExceptionA : retrying for finite number of times and finally when number of retrials exhausted, message is written in a dead letter queue In case of ExceptionB : simply, message should be written to dead…
Shady Ragab
  • 705
  • 10
  • 26
0
votes
2 answers

Requeue message that was accepted

I have a message that is on queue, but, when the message is successfully trigged, I don't want to delete the message from queue. I want to keep the message there, to be retriggered at another time, does anybody have an idea of how configure rabbitMQ…
Pedro Henrique
  • 609
  • 2
  • 9
  • 26
0
votes
1 answer

Spring amqp: detect shutdown and reconnect to another queue

We have this setup where we call a webservice to create a queue, and receive the queue name from the response. Then we set up a SimpleMessageListenerContainer and set the queue name there, and then start it. However, from time to time, the queue is…
0
votes
1 answer

How to use Spring AMQP with Spring Cloud Microservice

I used JHipster to generate a several microservices based on Spring Cloud Netflix. Currently thinking about adding Spring AMQP support in one of the services, using this tutorial: https://spring.io/guides/gs/messaging-rabbitmq/ When adding the AMQP…
Tyler Shao
  • 156
  • 1
  • 10
0
votes
2 answers

How to filter RabbitMQ console listening messages in the application

I am using spring-amqp with rabbitmq for exchanging of messages in my application. Once my application get started, i will keep seeing tons of messaging listening logs in my tomcat console. I want to disable. How to do this ? 11:01:47.862…
BIndu_Madhav
  • 577
  • 1
  • 8
  • 21
0
votes
0 answers

Missing messages usingSpring Integration amqp:outbound-channel-adapter on RabbitMQ

On Publishing the message to Rabbit MQ Exchange, few of the messages are getting lost. For example, posted 10 messages only five got delivered to the binded queue and the rest 5 messages are lost. Please advice. Below is Spring XML configuration…
0
votes
1 answer

Websphere MQ integration with Spring-AMQP

We are planning to do a POC with Websphere MQ (8.0.0.5). Can anyone give any pointers on how to achieve the Websphere MQ (8.0.0.5 - which supports AMQP) integration with Spring-AMQP framework. As far as i know Spring-AMQP inherently supports…
Gururaj Nayak
  • 636
  • 1
  • 9
  • 18
0
votes
1 answer

spring-amqp one queue multiple listeners

How can I configure the receiver for following requirement I have three tasks which will listen all the replies on single queue "replyQueue" task1 task2 task3 Each one is going to send one message on Rabbit and will wait for the response on the…
Pushparaj Dhole
  • 63
  • 1
  • 11
0
votes
1 answer

Migrating from RabbitMQ to Webshpere MQ

We have been doing some POCs with RabbitMQ. However there is some debate going on if we need to move away from RabbitMQ to Webshpere MQ. So ignoring the licensing factors purely from a technical standpoint can some one explain how this will…
Gururaj Nayak
  • 636
  • 1
  • 9
  • 18
0
votes
1 answer

how to requeue a message using spring ampq

While requeuing the message we want the message to be placed at the start/front of the queue. This means if I have in queue as "D,C,B,A" and process A and then want to put back in Queue at start, my queue should looks like this:- "A,D,C,B". So, I…
0
votes
1 answer

spring-amqp onMessage() method not processing next message when previous message processing is in progress

I am using MessageListener to read messages from the specified queue and want to perform processing once i got message on queue. Here is my code @Bean public MessageListenerContainer messageListenerContainer() { SimpleMessageListenerContainer…
Pushparaj Dhole
  • 63
  • 1
  • 11
0
votes
1 answer

Creating a new Queue using Spring AMQP on web application startup

I am trying to create a new queue in RabbitMQ using Spring AMQP on server startup of my web application. I am not getting the exact configuration code how to achieve it. Below is my code snippet. Please correct the following. @Configuration public…
Chandan
  • 333
  • 1
  • 6
  • 14
0
votes
1 answer

RabbitMqTemplate Receive Operation in Distributed Transaction with Database

I have a need of creating a simple application that, Reads first available message from a RabbitMq Queue Save the object into a DB Table The application is MVC type, and have an exposed http endpoint to trigger the operation by user. All…
Ashwin Gupta
  • 920
  • 1
  • 11
  • 17