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

convert spring integration beans to java config

I am using spring integration for ftp integration. Following is my config
hrishikeshp19
  • 8,838
  • 26
  • 78
  • 141
2
votes
0 answers

selector not working for sonic mq message-driven-channel-adapter

I have this spring integration config. The JMS broker is Sonic MQ. For some reason a connection cannot be established if I add a selector. I get lots of connection refreshed logs. It works fine without the selector. Is this a know issue for Sonic MQ…
2
votes
4 answers

Bean casting error from nested injections

I am working with Spring Integration with my project right now, specifically with MessageChannel/PublishSubscribeChannel. What I am trying to achieve is to create a broker module, so that other part of the system can call this module to send message…
Robert Kang
  • 568
  • 5
  • 19
2
votes
1 answer

Spring Integration Java DSL - execute multiple service activators async?

There's a Job which has a list of tasks. Each task has id, name, status. I've created service activators for each tasks, as follows: @ServiceActivator public Message execute(Message message){ //do stuff } I've created a gateway…
Ocelot
  • 1,733
  • 4
  • 29
  • 53
2
votes
0 answers

Requirements for the Spring Integration Http Outbound Adapter with ASP.Net

I have a CRM application that is using spring integration framework to send out updates to other systems. Currently the integration is running thru JMS, in which an xml message is sent to a JBossMQ queue. This needs to change so that a .Net…
trouta
  • 426
  • 3
  • 12
2
votes
0 answers

Spring Integration Aggregator Does not Release as expected

I have a spring integration aggregator configured like below expecting that it should call the method aggregateTask() either after group size is 500 or after reaching the timeout,
Thudani Hettimulla
  • 754
  • 1
  • 12
  • 32
2
votes
0 answers

spring-integration-kafka : Multi message(s) - partition - consumer relationship

Requirement: Let say I am receiving message from 3 organisation and want to process them separately/orderly by separate consumers. m-many messages from a given organisation example m1: many messages from oragnisation 1 p-partition c-consumer for a…
sam
  • 141
  • 13
2
votes
0 answers

Weird behavior for socket creation when implementing dynamic tcp-ip resolver using spring integration

I've successfully implemented the dynamic tcp-ip resolver thanks to the dynamic ftp template in spring integration. Everything works "fine". By fine I mean that my tcp/ip client can successfully connect to the target server:host and communicate…
Axu
  • 61
  • 5
2
votes
0 answers

Exception while consuming Spring Web Service using spring-ws-core API

I am consuming Spring Web Service using Spring-ws-core API. But when I am getting error when Add following dependency in my project's pom.xml file :
Gunjan Shah
  • 5,088
  • 16
  • 53
  • 72
2
votes
0 answers

spring integration activemq warm up connections

I wrote a sample code using jms spring-integration, such that request => app-a => activemq => app-b => activemq => app-a => response When i execute a test on the above, the first request to response takes > 10 ms whereas subsequent request to…
josh
  • 13,793
  • 12
  • 49
  • 58
2
votes
1 answer

How to use header value router using java dsl?

How to use header value router using java dsl?. I want to route based on the value comes in the header. If I pass false to my gateway, it is giving me "No bean named 'false' is…
Manoj
  • 5,707
  • 19
  • 56
  • 86
2
votes
1 answer

Spring integration - how to check a directory for files, without polling?

Is there a way in spring integration, (either using int-file:inbound-channel-adapter or any other means) to simply check a directory for file (preferably pattern match) without polling and if file exists, fetch it and process further and if it…
Ocelot
  • 1,733
  • 4
  • 29
  • 53
2
votes
2 answers

Move file after successful ftp transfer using Java DSL

I've defined a flow using spring-integration java dsl to ftp transfer a file, handle it, then transfer it back in an "archive" dir, and at last move it in a local archive dir. Which is something "quite easy" as: @Bean public IntegrationFlow…
lrkwz
  • 6,105
  • 3
  • 36
  • 59
2
votes
1 answer

timeout dynamic HTTP outbound gateway request-factory

I have configured timeouts for the HTTP Outbound Gateway providing a reference to a ClientHttpRequestFactory bean using the request-factory attribute:
mbracero
  • 77
  • 5
2
votes
1 answer

Spring Batch Integration Start/Stop File Adapter from Controller

I am not sure if my endpoints are setup correctly. My end goal is when I call stop on both adapters, that if a file is placed in either directory where the inbound channel adapters are polling, the file will not be processed. Which is not the case…
Tim Schumacher
  • 321
  • 3
  • 19