Questions tagged [spring-integration]

Use this tag for questions about the Spring Integration project. It is not intended for general questions about integrating other Spring projects with other technologies.

Spring Integration provides an extension of the Spring programming model to support the well-known Enterprise Integration Patterns. Spring Integration enables lightweight messaging within Spring-based applications and supports integration with external systems via declarative adapters. Those adapters provide a higher-level of abstraction over Spring's support for remoting, messaging, and scheduling.

Use this tag for questions about the Spring Integration project. It is not intended for general questions about integrating other Spring projects with other technologies. For example "How do I integrate Spring MVC with Struts?" would not be an appropriate question for this tag. Whereas "How do I solve such-and-such issue with the Spring Integration xyz channel adapter?", or "How can I use Spring Integration to communicate with [some legacy system]?" would be appropriate.

Resources

See Also

7860 questions
2
votes
0 answers

transaction with jms:inbound-channel-adapter

I want with jms:inbound-channel-adapter to read a jms message and apply treatment, if treatment throw exception i want that broker keep message
Samir
  • 51
  • 3
2
votes
1 answer

writing sftp inbound and outbound adapter without xml configuration in spring integration

I need to create a SFTP inbound and outbound adapter using java with no XMl configuration. The problem, I am facing is I am not able to create a CachingSessionFactory and DefaultSessionFactory with a privatekey as a property. If anyone has tried it…
LONGHORN007
  • 526
  • 9
  • 24
2
votes
0 answers

How to configure AmqpInboundChannelAdapter back off policy

I want to start my app even if the RabbitMQ is not reachable. Currently my app hangs while AmqpInboundChannelAdapter tries to establish connection and I see pattern how long it waits before it tries again. How to configure app using Spring AMQP to…
tropikalista
  • 1,629
  • 3
  • 19
  • 35
2
votes
0 answers

Spring Integration: CGLIB error during deployment

I am trying to implement a very simple integration flow, but can't figure out why I get an error during the deployment. Any help is greatly appreciated. Xml Config:
anazimok
  • 1,750
  • 2
  • 20
  • 33
2
votes
0 answers

Error synchronizing remote to local directory using spring integration

I have have the next error: ERROR com...ErrorHandler - receiving error response with null parametter org.springframework.integration.MessagingException: Problem occurred while synchronizing remote to local directory with spring integration 2.2.6,…
Spas Rg
  • 21
  • 2
2
votes
1 answer

how to use filename-regex option in int-ftp:outbound-gateway?

I defined ftp outbound adapter with ls command and recursive mode in my spring integration project. I want to filter and get files in specified sub-directories. The directory structure on the server is: root ----------a\ ---------------in\ …
Alireza Alallah
  • 2,486
  • 29
  • 35
2
votes
2 answers

Spring Mqtt - Publish messages to multiple topics programmatically

How can I publish messages with different topics programmatically?
sura2k
  • 7,365
  • 13
  • 61
  • 80
2
votes
1 answer

message-driven-channel-adapter and multi threading

In my project I have a thousand of queue, and i want to have one consumer per queue to consume message synchronously. I have a task executor with thread pool size 20 shared between thousand of message-driven-channel-adapter When i start my…
Samir
  • 51
  • 3
2
votes
1 answer

Mqtt paho using spring integration stops processing messages on topic over certain load requests

I am using Spring Integration with mqtt-paho version 4.0.4 For receiving MQTT messages on specified topic. When application is receiving huge load I found that, sometimes application is dropping connection with IMA (mqtt) and this was happened three…
Anand Kadhi
  • 1,790
  • 4
  • 27
  • 40
2
votes
1 answer

Handle exceptions caused by message-converter on Message Driven Inbound Channel Adapter

In the configuration below I have a message-driven-channel-adapter with a message-converter so the service-activator is invoked with the converted payload.
Dewiop
  • 55
  • 1
  • 5
2
votes
1 answer

Find an appropriate queue-consumer pair

I need to implement with the help of spring-intagration libraries a message pipeline. At the beginning, as I see now, it needs to contain several elements: a. Messaging gateway, @MessagingGateway(name = "entryGateway", defaultRequestChannel =…
user2957954
  • 1,221
  • 2
  • 18
  • 39
2
votes
1 answer

Spring Integration RabbitMQ ConnectionFactory gracefully stop retry if RabbitMQ is down

I have a Configured Spring integration with RabbitMQ as message broker. I have a scenario where the application may be deployed in production with RabbitMQ down.When it happens the application continuosly tries to reconnect…
Adelin
  • 18,144
  • 26
  • 115
  • 175
2
votes
0 answers

Java file system exception when deleting file with NIO Files.delete()

I am getting following exception, java.nio.file.FileSystemException: C:\Users\abcd.zip: The process cannot access the file because it is being used by another process. at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)…
user509755
  • 2,941
  • 10
  • 48
  • 82
2
votes
1 answer

How to set up XML marshalling for a TCP server in Spring integration?

I want to use spring integration to create a simple TCP server that communicates using XML messages. I trying to use a TcpInboundGateway with appropriate marshalling set up on the input and output channels as…