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

PropertiesPersistingMetadataStore not writing to file

I am using SftpSimplePatternFileListFilter and SftpPersistentAcceptOnceFileListFilter along with metadata store. But I noticed that it is not flushing the entries to file. I never show flush() method being called from…
user509755
  • 2,941
  • 10
  • 48
  • 82
2
votes
1 answer

Transaction boundaries on Spring Integration with ActiveMQ and an a channel backed with an Message Store

I'am working on an application using spring-integration and ActiveMQ to integrate a main server and several "client" applications. The main goal is to develop and small client with an embedded ActiveMQ broker, the embedded broker is started by this…
dgofactory
  • 348
  • 5
  • 13
2
votes
1 answer

Aggregate list based on size

I have a list of let's say size 10, I want to aggregate using max size 6. In this case it should work like this: first six messages are aggregated into one message and then right away (without any timeout) the next 4 messages are aggregated into…
mike27
  • 965
  • 3
  • 12
  • 22
2
votes
1 answer

Spring config beans - Attribute is not allowed to appear in element

I am attempting to integrate the User functionality from here: https://github.com/iainporter/rest-java into an existing Maven project of mine. I have got everything working, but the email-services-context.xml has some errors preventing me from…
a.hrdie
  • 716
  • 2
  • 14
  • 35
2
votes
2 answers

Generating a reply when using an outbound channel adapter

I have the following simplified spring integration flow: int-ws:inbound-gateway ----> int:transformer ----> int-kafka:outbound-channel-adapter Basically: A web service endpoint is exposed using the int-ws:inbound-gateway Messages from this…
2
votes
1 answer

Spring Integration : Could not resolve 'json__TypeId__' in 'javaTypes'

I wanted to get the json data from the gitlab application after I sent request the message and get the payload data(json) I attached the contents using the postman chrome plugin. I got the error like the followings. Caused by:…
verystrongjoe
  • 3,831
  • 9
  • 35
  • 66
2
votes
0 answers

How to config a fan-out model in spring-integration?

We're creating an activity feed system, one of the processing logic is to implement 'fan-out-on-write'. We used to use Apache Storm, I'm thinking using spring-integration should be able to achieve same parallelism. The use case is, UserA has 1,000…
heyu
  • 185
  • 1
  • 13
2
votes
1 answer

How Spring Integration interacts with Web Service (Jersey)?

I want to know How Spring Integration interacts with Web Service (Jersey): I want to create a small project from scratch Maven, Spring Integration, Java EE, Jersey, MySQL. I think that: The first step will be: Adding Spring Integration to…
Dylan
  • 935
  • 1
  • 11
  • 24
2
votes
0 answers

SFTP Inbound channel does not download files

I want to download txt files from the sftp server but my inbound channel just creates folder and does not download files into the directory. Once it is connected to the SFTP server then it gives the error. Kindly see the stacktrace. I am using…
user3548196
  • 355
  • 1
  • 9
  • 32
2
votes
1 answer

Spring-integration scripting with Python

I'm trying to use Python with spring-integration and jython-standalone-2.7.0: Here is my application context:
Ludo
  • 133
  • 1
  • 13
2
votes
1 answer

Folder polling in a cluster

I have a spring integration app deployed on two nodes in a cluster. they poll for incoming files on single directory using inbound file adapter . I have below configuration.
Mohan
  • 53
  • 1
  • 8
2
votes
1 answer

JSON mapping error in Spring integration

I have configured an inbound HTTP gateway, which takes POST requests (JSON) and does homework to return a JSON response, the request and response payload is the same POJO. I created beans for Json converters as follows @Bean public…
Anadi Misra
  • 1,925
  • 4
  • 39
  • 68
2
votes
0 answers

Protocol(SSLV3) unsupported issue while retrieving data from Splunk

Problem/Issue: I am trying to read data from splunk in a spring application(splunk java sdk) using spring integration. I received an error "Server chose unsupported or disabled protocol: SSLv3" while deploying the code in a TCserver. This worked…
SpringForLiving
  • 599
  • 2
  • 5
  • 12
2
votes
1 answer

Delete File after successful persist to MongoDB in Spring Integration

I have a Spring Integration flow that reads a csv file from a directory, splits the lines, then processes each line and extracts 2 objects from each line. These two objects are then send to two seperate int-mongodb:outbound-channel-adapter. I want…
Andrew Serff
  • 2,117
  • 4
  • 21
  • 32
2
votes
1 answer

Which Spring Integration Channel should be used for MQTT

I am trying a demo app where we send commands over a UI which then goes through spring integration to deliver a command to a device and gives a command status back to UI, this is my first time using Spring Integration and am a bit unsure of the…
Anadi Misra
  • 1,925
  • 4
  • 39
  • 68