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
1 answer

Integrate a Pollable channel in spring integation flow

How to integrate a Pollable channel in the Integration flow. As my flow is using a NullChannel instead of Pollable Channel. Can some one kindly provide any pointer on this. This is my Integration flow. @Bean public IntegrationFlow…
David
  • 109
  • 1
  • 16
2
votes
1 answer

Spring Integration Mail Inbound Channel Adapter configured for POP3 access pulls the same email twice

I have a Spring Integration Mail Inbound Adapter configured to poll a POP3 email inbox for processing incoming emails with large XML file attachments. The configuration is as follows:
2
votes
1 answer

Spring integration chain error handling

Need help in error handling in a chain during splitter and aggregator flow for a synchronous channel. Below is the Use case and it will be synchronous channel. So in the chain there will be a set of service activator to perform the business logic.…
2
votes
1 answer

spring integration http outbound adapter not resolving properties

We are using http outbound adapter to make http get request and we want to read URL from properties file as it changes from envt to envt. We also append some other path to this url using message payload but then it is giving us this error message…
user509755
  • 2,941
  • 10
  • 48
  • 82
2
votes
1 answer

Spring integration DSL example of file polling inbound channel adapter

Can't find an example anywhere using spring integration DSL only xml. Any pointers appreciated, also need the poller to trigger on file creation and modification
Ant
  • 69
  • 1
  • 11
2
votes
1 answer

Spring Integration Outbound File Adapter

I'm kind of having issues on implementing certain functionality and I'm noticing some inconsistencies when I drop files. 1) When I drop multiple files, sometimes not all files get transferred to the correct directory. 2) Sometimes the service…
user1172490
  • 137
  • 11
2
votes
1 answer

How to handle async file processing of external system with Spring Integration?

I have a system that I need to integrate with that needs files dropped in one folder and it copies that file to a "success" folder or an "error" folder depending on if it was processed correctly. I currently have a flow defined in DSL like…
Andrew Wynham
  • 2,310
  • 21
  • 25
2
votes
1 answer

Channel adaptor and Service activator

I am new to Spring framework and Spring Integration. I'm starting using spring boot with AWS service. I tried to use Channel adaptor and Service activator to get the message from SQS queue and send to another service inside the application…
Pat
  • 23
  • 3
2
votes
2 answers

Spring Integration - SFTP - JSCH - Session disconnects

I'm trying to poll remote directories for file presence and sending a MQ message notifying some other component to move the file. We have this situation, threads/pollers login via password and connect to the server and immediately after a few…
Raj P
  • 155
  • 1
  • 2
  • 7
2
votes
1 answer

spring-integration-kafka annotation support & example

Although new to spring, I'm usually able to get started with a spring projects fairly well with annotations only. The official examples uses xml without mentioning where they will be placed etc. Is there any sample project on reading from a kafka…
lawal
  • 952
  • 10
  • 19
2
votes
2 answers

spring integration amqp, how get message by routing key

I need help how build with spring integration DSL and amqp this model of behavior. I have three types of messages and I need consume from queue one type of message by consumer and only if consumer have not this type task in queue for longer time…
lubo08
  • 315
  • 4
  • 11
2
votes
1 answer

Spring Integration Parallel Processing without Aggreagation

I couldn't find enough/clear documentation on this. I am getting a message from chain processing. Once the channel receives the message, I want to duplicate the message on conditional basis. Simple flow:
RaceBase
  • 18,428
  • 47
  • 141
  • 202
2
votes
0 answers

Spring integration tcp gateway exception

we are using Spring integration 2.2.3. In case of Tcp Gateway Exception [java.net.ConnectException :Connection refused], it just prints the stack trace and the flow continues Processing. We need the execution should stop once ConnectException is…
2
votes
1 answer

Spring Integration validation

What is the best way to do validation in Spring Integration. For example if we have an inbound gateway, when a message is received we want to validate it. If it's not valid -> return the validation errors to the gateway, else -> proceed with the…
Evgeni Dimitrov
  • 21,976
  • 33
  • 120
  • 145
2
votes
1 answer

spring integration clarification on poller and its messages

We are using cron expression based polling in jdbc and sftp inbound channel adapter and we need special kind of message being generated that says this is the last poll for the day so that we can take some action. Is this something possible?
user509755
  • 2,941
  • 10
  • 48
  • 82