Questions tagged [spring-integration-amqp]
73 questions
1
vote
1 answer
What does 'int' signify when used in xml configurations in spring integration?
I am currently reading through spring integration topics. Came across a notation/prefix --> "int" used in the XML configurations in spring-integration.
Can anyone help me in…

S2K
- 107
- 1
- 11
1
vote
1 answer
Fetch message details in Spring RecoveryCallback
I'm publishing messages into RabbitMQ and I would like to track the errors when RabbitMQ is down, for this I added one RetryTemplate with the recovery callback, but the recovery callback only provides this method getLastThrowable() and I'm not sure…

Yerko Aguirre
- 33
- 5
1
vote
1 answer
Retry spring integration IntegrationFlow on exception
I have a spring integration IntegrationFlow that's defined like this:
IntegrationFlows.from(Amqp.inboundAdapter(connectionFactory, "queueName")
.id("id")
.autoStartup(autoStartup)
…

Johan
- 37,479
- 32
- 149
- 237
1
vote
0 answers
NullPointerException occurs when spring-cloud-sleuth(boot) integration with spring-integration
I am using spring-amqp via spring-integration.
By the way, when using spring-cloud-sleuth-zipkin, the following error occurred.
spring-cloud-starter-zipkin:1.0.9
spring-integration-core:4.2.9
spring-amqp:1.5.6
java.lang.NullPointerException: null
…

user2709459
- 11
- 1
0
votes
0 answers
Spring Integration - wait for all data on data channel after message received on completion channel
I am extracting a long running data analysis routine out into a microservice and have currently modelled it having:
a Request channel to receive the data processing request
a data channel to return periodic snapshots of the analysis so far (the…

Piers Geyman
- 479
- 3
- 19
0
votes
0 answers
Observing memory leak in CachingSessionFactory ( DefaultSftpSessionFactory)
We have build spring microservice which uses spring integration framework with Rabbit mq as messaging system. Our application establish the sftp session with SFTP server and poll the files every 3 seconds. In a day we get around 5oo files and we are…

Sushil Jagtap
- 1
- 1
0
votes
2 answers
Spring integration amqp adding headers repetitively
We have been using spring integration core and spring integration amqp along with rabbitm-mq for a long time now. Our services also used dead lettering mechanism by using x-death header and amaqp-expiration header It used to work fine until now…

vipulk10
- 117
- 3
- 15
0
votes
1 answer
How to use Control bus in Spring integration to start/stop integration components from another JVM
We are using spring integration/spring batch job to run jobs within multiple jboss nodes connected to the common ActiveMQ queue. We have configured auto startup as false for inbound gateway listening to the queue/channel. Problem with auto-start as…

rockycres
- 71
- 8
0
votes
1 answer
Async RabbitMQ communcation using Spring Integration
I have two spring boot services that communicate using RabbitMQ.
Service1 sends request for session creation to Service2.
Service2 handles request and should return response.
Service1 should handle the response.
Service1 method for requesting…

Boris
- 726
- 1
- 10
- 22
0
votes
1 answer
Detect Exception on RabbitMq connection
Using spring integration to transfer message from RabbitMQ to MQ works well.
If i stop the RabbitMQ server, then we have an error on log files :
ERROR o.s.a.r.c.CachingConnectionFactory - Channel shutdown: connection error; protocol method:…

Eric NICOLAS
- 27
- 1
- 6
0
votes
1 answer
Log XML payload when MarshallingMessageConverter is used in Spring Integration's Amqp inboundAdapter
I have IntegrationFlow which listens for AMQP messages and I want to log XML message payload.
IntegrationFlows.from(
Amqp.inboundAdapter(rabbitConnectionFactory, QUEUE)
.messageConverter(new…

Patrik Mihalčin
- 3,341
- 7
- 33
- 68
0
votes
1 answer
Slow down inbound channel
We use spring integration to transfer messages from one broker (amqp | jms) to another.
We would like to slow down the consumption of messages from the input channel: or

Eric NICOLAS
- 27
- 1
- 6
0
votes
1 answer
spring integeration amqp when convert message from amqp occur err, it does not go retry
spring integeration amqp version: 5.0.11
goal: when occur fatal exceptions, message will drop. but not fatal, messages will requeue and go retry policy.
but in my case, i have a custom message converter, when my convert occur some non-fatal err, it…

steven
- 377
- 3
- 14
0
votes
1 answer
Outbound Amqp adapter rollback messages on exception
I am using spring integration (with inbound/outbound channel adapters) to transfer messages from
JMS to AMQP
AMQP to JMS
AMQP to AMQP
This works fine.
When the destination queue is full, I would like to stop the process, and sending back the…

Eric NICOLAS
- 27
- 1
- 6
0
votes
1 answer
Filter out headers of AMQP message in AMQP inbound adapter
Given I have IntegrationFlow:
IntegrationFlows.from(
Amqp.inboundAdapter(rabbitConnectionFactory, NTF_INCOMING_CMSF_EVENT_QUEUE)
.messageConverter(new Jackson2JsonMessageConverter(jacksonObjectMapper))
)
.get()
I'd like to apply…

Patrik Mihalčin
- 3,341
- 7
- 33
- 68