Questions tagged [spring-integration-amqp]
73 questions
1
vote
1 answer
Spring Integration AMQP
I have just stared learning spring-integration
I want to receive a message on a queue and perform 2 steps in parallel:
Step 1 -> Process it using a bean
Step 2 -> Transform and send it to another queue.
Something like :
return…

Nikhil
- 345
- 2
- 13
1
vote
1 answer
Is it possible to make MessageHeaders.ID not transient in Spring Integration?
I am attempting to send messages via a Spring Cloud Stream Source. The application receiving the message to requires the id header to be present. I am unable to change this requirement, so I need to find a way to ensure that the id header is mapped…

mpej
- 13
- 1
- 4
1
vote
1 answer
SimpleMessageListenerContainer - ClassNotFoundException warning on AMQP receive message
I have just updated my application to version spring-integration-amqp-5.2.4.RELEASE and when I receive message from queue everything works fine, but I noticed warning java.lang.ClassNotFoundException in DefaultAmqpHeaderMapper class. I use custom…

Bully
- 139
- 1
- 14
1
vote
1 answer
Global transaction between AMQP Inbound and JMS Outbound
We need to transfer messages between a RabbitMQ and MQSeries.
For this we use the configuration below.

Eric NICOLAS
- 27
- 1
- 6
1
vote
1 answer
Inbound channel adapter throwing "no output-channel or replyChannel header available" error
I would like to get the message from JMS and send it as HTTP request and in case of failure, enqueue it again to JMS.
I've tried using inbound-message-adapter and message-driven-channel-adapter, but it fails as I get "ChannelResolutionException: no…

rowen
- 37
- 5
1
vote
1 answer
Does Spring Integration ServiceActivator work with Project Reactor Types?
I'm using Spring Integration 5.1.5 (with RabbitMQ using spring-integration-amqp) and I reading in the docs that Spring Integration has support for project reactor types (by this I mean Mono, Flux etc). But I cannot get this to work for…

Johan
- 37,479
- 32
- 149
- 237
1
vote
2 answers
How can I pass an object `Message` to the route?
I create a flow, which consumes messages from RabbitMQ and after that distributes to the appropriate services by type using the router.
Methods in services take argument Message>, because I need to use headers there. But in this method I receive…

Roman
- 61
- 1
- 6
1
vote
2 answers
Dependencies for Spring Integration Amqp in Spring Boot
In order to use Spring Integration Amqp in a Spring Boot application, what are the dependencies I need to include?
Spring Boot version is 2.0.5.
Current dependencies I have are spring-boot-starter-integration and spring-integration-amqp
Error…

user1575148
- 561
- 6
- 28
1
vote
1 answer
how to write unit test for spring integration xml code
Im new to spring integration,I want to write unit test cases for my application. I'm working on an application where integration interface will be called by other system with XML input we transform the input XML using XSLT and will make a call to…

Sid
- 255
- 2
- 12
1
vote
1 answer
Spring Integration AMQP ConcurrentModificationException
We're using ThreadPoolTaskExecutor to parallelize the execution of a message handler, but we're running into concurrent modification exception.
Below is the exception that is thrown:
2018-07-26 21:18:15.563 ERROR…

John Moison
- 11
- 2
1
vote
1 answer
Spring amqp throwing Listener not registered when publish confirm is enabled on second call
i have been trying to get a Spring RabbitMQ publisher with publisher confirms turned on . The first calls goes through fine and confirm callback is returned. from second call onwards it fails with following error message
…

Jiss Janardhanan
- 188
- 2
- 10
1
vote
1 answer
SimpleMessageListenerContainer shutdowntimeout
I am using spring-rabbit-1.7.3.RELEASE.jar
I have defined a SimpleMessageListenerContainer in my xml with shutdownTimeout parameter.
bean id="aContainer"
class="org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer">

GGKamal
- 21
- 6
1
vote
1 answer
RabbitMQ + Spring Integration. Queue size 1, only deleted when override
I would like to now if is posible to implement this idea with RabbitMQ and Spring Integration:
One queue, with capatity for 1 message.
The consumers will ask for this message, if it exist in the queue, it will be delivered to them, if not, they get…

Guillermo Garcia
- 67
- 12
1
vote
1 answer
How to consume all messages required in a Spring IntegrationFlow when message count is greater than the number of concurrent consumers?
I have an integration flow defined like this:
IntegrationFlows.from(Amqp.inboundAdapter(connectionFactory, "queueName")
.id("id")
.autoStartup(autoStartup)
.concurrentConsumers(2)
…

Johan
- 37,479
- 32
- 149
- 237
1
vote
1 answer
Spring Integration: get all headers involved in an aggration and not just the last one
I have a Spring integration flow defined like this:
IntegrationFlows.from(Amqp.inboundAdapter(connectionFactory, "queueName")
.id("id")
.acknowledgeMode(MANUAL)
.autoStartup(autoStartup)
…

Johan
- 37,479
- 32
- 149
- 237