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

Using MDC with Spring Integration

I want to introduce effective logging with in my Spring Integration implementation. I already have global wire-tap which logs the payload and headers. However we have lots service activators which has lots of business logic. I want to log important…
Palak Shah
  • 71
  • 9
2
votes
0 answers

Protecting messages following outbound adapter failure

I have an aggregator right before an outbound adapter (in order to batch requests). I would like to ensure that, when the outbound adapter is failing, the aggregator stops releasing messages, and, in turn, the backpressure propagates up the…
jwilner
  • 6,348
  • 6
  • 35
  • 47
2
votes
1 answer

Does applying ExpressionEvaluatingRequestHandlerAdvice supress the error?

adapter going out to a jms queue. I have some logic that needs to trigger both on successful deliver and on failover so i've hooked the adapter to the ExpressionEvaluatingRequestHandlerAdvice.
alokraop
  • 853
  • 1
  • 11
  • 29
2
votes
0 answers

How to use MarshallingWebServiceOutboundGateway to take dynamic uri?

How to use MarshallingWebServiceOutboundGateway to take dynamic uri. I am not sure how to use uri, and uriExpression when comes to java way of configuration. Kindly help.
Manoj
  • 5,707
  • 19
  • 56
  • 86
2
votes
2 answers

Spring Integration Java DSL flow Splitter/Aggregator delete file after processing all lines

Using Spring Integration Java DSL, I have constructed a flow where I'm processing files synchronously with a FileSplitter. I've been able to use the setDeleteFiles flag on a AbstractFilePayloadTransformer to delete the file after converting each…
Chris Phillipson
  • 795
  • 1
  • 15
  • 34
2
votes
1 answer

How to set a priority per outbound jms message in spring integration?

Hey so i'm using spring integration's jms:outbound-channel-adapterand need to set a priority on a message before i push it through to the messaging system. Now in plain JMS i had two ways of doing it. Either set the priority on the…
alokraop
  • 853
  • 1
  • 11
  • 29
2
votes
1 answer

Spring Integration DSL KafkaProducerContext configuration

I am trying to adapt the following example: https://github.com/joshlong/spring-and-kafka with latest stable versions of the following libraries: org.apache.kafka > kafka_2.10 > 0.8.2.2 org.springframework.integration > spring-integration-kafka >…
magiccrafter
  • 5,175
  • 1
  • 56
  • 50
2
votes
1 answer

JAVA - Spring Integration Flow Transaction + com.atomikos.icatch.HeurHazardException: Heuristic Exception

i'm trying to make transactional an entire flow of Spring integration, the flow starts with an adapter to an IBM MQ Queue, and then we have a complex flow with ActiveMQ Queues, and i'm getting a com.atomikos.icatch.HeurHazardException: Heuristic…
2
votes
1 answer

Persist message in ActiveMQ across server restart

I am learning Spring Integration JMS. Since ActiveMQ is a message broker. I referring to project given here-> http://www.javaworld.com/article/2142107/spring-framework/open-source-java-projects-spring-integration.html?page=2# But I want to know how…
2
votes
1 answer

How to filter Spring Integration flow using jdbc-outbound-channel-adapter?

I have a requirement wherein I have to FTP read XML files from a remote server and dump them in a local directory. After that I have to fire a SQL query against the database using values from the incoming payload and then - based on the outcome of…
curious_brain
  • 391
  • 2
  • 17
2
votes
1 answer

Handling different soap actions in spring integration

I have a spring integration application (outbound soap gateway). It calls a 3rd party SOAP web service which exposes multiple SOAP actions. How can I specify SOAP action dynamically or map it to different API call in the Spring gateway so that I…
J. Doe
  • 21
  • 3
2
votes
1 answer

Spring MessageBuilder vs Spring Integration MessageBuilder

Spring 4 introduced org.springframework.messaging.support.MessageBuilder. And there is one existing org.springframework.integration.support.MessageBuilder in Spring Integration framework. So when I am using Spring Integration with Spring 4,…
luboskrnac
  • 23,973
  • 10
  • 81
  • 92
2
votes
1 answer

recipient-list-router Spring integration

i'm new in spring integration. In my configuration of spring integration i have :
user3816170
  • 319
  • 12
  • 20
2
votes
1 answer

How to use relative path in spring integration in XML config

I want to use a relative to my project path for the directory attribute I am a newbie in…
heroin
  • 2,148
  • 1
  • 23
  • 32
2
votes
1 answer

TcpInboundGateway - Read specific number of bytes

How should i implement service activator to read specific number of bytes ? My context.xml,
josh
  • 13,793
  • 12
  • 49
  • 58