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

MTOM attachment streaming into a channel

I use spring integration int-ws:outbound-gateway to read files(pdf/...) from a webservice with XOP/MTOM It works and correctly get the stream from the attachment and I can write them to disk. But S.I.spring-ws keeps the files in memory while…
MaxS
  • 47
  • 9
2
votes
1 answer

Spring and GCM XMPP integration error

My java web application uses Spring and Manve and is deployed into tomcat8. It uses spring 4.1.1 for integraion with gcm xmpp. My dependecies are: org.igniterealtime.smack smack-core
2
votes
2 answers

Spring inbound channel adapter prevent-duplicates=false not working

I have got a problem with the spring inbound channel adapter. Importing new files works perfectly fine. But the option prevent-duplicates="false" does not seem to work properly - when a file with the same name is saved to the specified directory it…
cookiedealer
  • 381
  • 1
  • 6
  • 18
2
votes
1 answer

RemoteFileTemplate throws 'remoteDirectoryExpression' is required when using SftpOutboundGateway

I'm using the DSL API way for configuring an SftpOutboundGateway for issuing custom commands. In the example below I'm uploading a file and move it remotely afterwards: public IntegrationFlow sftpOutboundFlow() { return…
2
votes
1 answer

spring integration rabbit-mq json MessagingException

I am using Spring Integration to send notifications and as an error test case, I am sending in malformed JSON (a Map) and am getting MessagingException which seems to just go on and on.. not stopping.. I have to kill the Application. So want to…
user2279337
  • 691
  • 5
  • 13
  • 26
2
votes
0 answers

SI Kafka producer consumer running in the same spring application context issue

I am loading the kafka consumer configuration at application start up and then running the kafka producer to produce the messages getting below error(both producer and consumer are running in the same application context which is the…
sam
  • 141
  • 13
2
votes
2 answers

Spring Integration Message Router ability to log output channel Destination name

We're using Spring Integration 4.2.0. We have a flow that uses a Message Router and have a desire to be able to log where a message was routed to (actual Destination name and ideally Destination type along with the raw payload). In our case our…
Tony Falabella
  • 335
  • 1
  • 6
  • 17
2
votes
1 answer

Creating a retry delay within a transaction to clean up sftp inbound channel files

I have a sftp:inbound-channel-adapter which synchronises files from a remote folder to a local folder. When it spots a file with a .xml extension it creates a Message and a new transaction and sends it to the routerChannel channel. The…
David Newcomb
  • 10,639
  • 3
  • 49
  • 62
2
votes
2 answers

How to convert from spring-integration-kafka 1.0.0M (XML config) to spring-integration-kafka 1.2.1 (Java config)?

I implemented spring-integration-kafka 1.0.0M into a Spring MVC project last year using the XML configuration and it was very simple to do. Since Spring seems to be moving in a Java configuration direction (rather than XML), I would like to convert…
callred
  • 21
  • 4
2
votes
1 answer

New Version of Spring-integration-aws in Maven

I am able to find spring-integration-aws of version 0.5.0. Is there a latest release with Spring 4.0 and Spring Integration 4.0 available to be used? I cannot find it in Maven repo. Regards Karthik
2
votes
2 answers

How to skip the setting of 'filter' and 'locker' attribute if custom DirectoryScanner is used in Spring Integration 4.2.0 with XML Config

With Spring Integration 4.2.0, it mentioned that 'filter' and 'locker' must be present if custom Scanner is being used (https://jira.spring.io/browse/INT-3619). I don't know how to set this with XML config if I simply override the…
user3544765
  • 456
  • 5
  • 13
2
votes
2 answers

Unable to configure CORS support in Http Inbound Gateway

I'm unable to configure Cross Origin Resource Sharing support to an Http Inbound Gateway. I'm using Spring Integration 4.2.0.RELEASE A snippet of configuration is:
Massimo Da Ros
  • 393
  • 3
  • 11
2
votes
1 answer

Spring Integration Aggregation Example with Websphere

Issue: Stream input only works for 1 input sending to the aggregator for the output-channel 'out'. Subsequent messages only go to the discard-channel 'logLateArrivers'. What condition is being used to send to the discard-channel? Description:…
haju
  • 1,278
  • 4
  • 20
  • 38
2
votes
1 answer
2
votes
2 answers

What is proper way to advise failed transform w/ Spring Integration Java DSL

I have completed a "happy-path" (as below). How I can advise a .transform call to have it invoke an error flow (via errorChannel) w/o interrupting the mainFlow? Currently the mainFlow terminates on first failure occurrence in second .transform…
Chris Phillipson
  • 795
  • 1
  • 15
  • 34