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

ErrorHandlingTaskExecutor$1 fill up the Heap

I am using Spring Integration for FTP/File poller. FTp/File poller polls every 5sec. When i analyze the heap memory i can see ErrorHandlingTaskExecutor$1 filling up the heap memory.How to solve this issue.Below the code
Annavi
  • 141
  • 1
  • 12
2
votes
1 answer

How to use AOP on spring integration gateways?

I would like to intercept all spring integration gateways via AOP. Is it possible to do that? If not what might be best way to do log input object coming to…
Manoj
  • 5,707
  • 19
  • 56
  • 86
2
votes
1 answer

Is there anyway to have multiple SFTP inbound channel in one config file?

I have multiple location from where i have to download those files and then will delete those files or will archive those downloaded files on the remote server. Following is what i want to do but the problem is with little knowledge i don't know…
user3548196
  • 355
  • 1
  • 9
  • 32
2
votes
1 answer

Logging http request in Spring integration http outbound gateway

is there a way (eg. interceptor) to log the request send via Spring Integration http outbound gateway?
Jatin
  • 63
  • 2
  • 8
2
votes
1 answer

Custom MessageListener to DefaultMessageListenerContainer being overridden

First of all, I am a newbie in terms of Spring Integration and Spring JMS, so maybe the solution I try to adopt is not the correct one for my requirements. I will try to explain what I am required to implement: basically, I need to place a message…
Ana-Maria
  • 23
  • 4
2
votes
2 answers

Simple publish/subscribe with spring-integration

I have a queue and topic setup in a spring-boot application.properties as follows: spring.hornetq.embedded.queues=parts.queue spring.hornetq.embedded.topics=parts.topic I need to send messages from one application to another. app1 (publisher) app2…
jax
  • 37,735
  • 57
  • 182
  • 278
2
votes
2 answers

Serializing exception using Spring Integration + AWS SQS

I'm trying to use Spring Integration with Amazon SQS, but can't figure out what I'm doing wrong. If I use an in-memory queue as below, everything works fine: But when I changed it to use AWS…
June
  • 592
  • 8
  • 18
2
votes
2 answers

In Java Spring Integration, can a transformer element include router functionality?

I need a component that: Receives a message, enacts a transformation on both the payload and header of the message (so far it acts like a transformer). Then, based on the values passed in on the header route to an appropriate channel (acting like…
darkhipo
  • 1,384
  • 1
  • 14
  • 19
2
votes
1 answer

Set HTTP status code for inbound gateway reply timeout?

I'm creating a web service that is a gateway to another web service. I'm using the Spring Integration framework, specifically an Http Inbound Gateway to accept incoming requests. When the reply-timeout is triggered, a 200 status code is returned.…
MDrabic
  • 917
  • 8
  • 15
2
votes
0 answers
2
votes
1 answer

Interceptor for http outbound gateway

Has sprint integration http outbound gateway has any configuration property to add interceptor into org.springframework.web.client.RestTemplate ? I want to intercept the httpRequest for adding some security information in request (like interceptor…
Sabeeb .A
  • 49
  • 5
2
votes
1 answer

int-ftp:inbound-channel-adapter fetch in sequential order?

How can i make int-ftp:inbound-channel-adapter to fetch the files in the order they are created on the remote system ? for example : File1 - 15:31:01 File2 - 15:32:02 File3 - 15:33:03 File4 - 15:34:04 File5 - 15:35:05 Assume my application is down…
Molay
  • 1,154
  • 2
  • 19
  • 42
2
votes
1 answer

Spring batch integrarion remote chunking using AMQP (Rabbit)

I'm trying to implement Remote Chunking as explained here http://docs.spring.io/spring-batch/trunk/reference/html/springBatchIntegration.html#externalizing-batch-process-execution. My simple master job:
2
votes
1 answer

Spring Integration - TCP - Response Correlation

I'm new to Spring Integration. The situation is that I've to connect to Tcp server dynamically(i.e. the DNS will be dynamically generated at runtime based on some params). Because of this I'm using Service Activator to manually create Tcp…
2
votes
1 answer

jms dynamic destination from original jmsReplyTo

There is one request queue and the reply queues are created by the client server instances and pinned to each instance rather than using temporary queues. The use case needs to get an inbound jms message and then send that message to an asynchronous…