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

error handling/propagation in spring integration

I've read that if exception is thrown in the flow the first thing the framework will do is check message header for error-channel property. Is it always the case? In my particular case I'm assigning a custom error-channel to a message header and yet…
yuranos
  • 8,799
  • 9
  • 56
  • 65
2
votes
1 answer

Spring RabbitMQ SimpleRabbitListenerContainerFactory usage

From the docs, I want to use consume from queues by dynamically changing the consumers without restarting the application. I do see that Spring RabbitMQ latest version supports the same, but no clue/example/explanation to change the same. I couldn't…
RaceBase
  • 18,428
  • 47
  • 141
  • 202
2
votes
1 answer

Spring Integration FileHeader.OriginalFile gets ignored

My application looks like this: Read in files, route them around for a bit, transform them to a POJO and back, then write them to disk again. I'm using a FileWritingMessageHandler to write out my files and set…
Blue
  • 601
  • 2
  • 8
  • 19
2
votes
1 answer

Spring Web Service and Spring integration Configuration?

I have a web service that was exposed using a combination of Spring and JAX-WS. I've managed to convert it to a POJO and expose it using Spring Integration as a service activator behind a web service inbound gateway that is set as a default endpoint…
Alex
  • 133
  • 1
  • 12
2
votes
2 answers

Getting the id of a newly inserted document

I am working on a project with Spring Integration. At some point in the message flow I am using a MongoDB Outbound Channel Adapter to save the payloads into my mongodb database. Is there a way that I can immediately get the id of the documents as…
Tanvir
  • 542
  • 7
  • 16
2
votes
0 answers

Spring Integration and UriEndpointMapping

I've managed to setup a web service using Spring Integration that goes through a ws inbound gateway and then on to a service activator. Now I want to change the setup so that the inbound gateway is no longer the default endpoint mapping because…
Alex
  • 133
  • 1
  • 12
2
votes
1 answer

How to prevent AMQP (RabbitMQ) message from being black holed when the connection to the broker dies?

For example, if there's a network outage and your producer loses connection to your RabbitMQ broke, how can you prevent messages from being black holed that need to be queued up? I have a few ideas one of them being to write all your messages to a…
2Real
  • 4,321
  • 4
  • 23
  • 27
2
votes
1 answer

How to create channels with Spring 4 annotation based?

I want to create a socket channel with a rendezvous queue where a client and server can exchange a simple message. But I already fail to convert the following xml to annotation based spring-4 configuration:
membersound
  • 81,582
  • 193
  • 585
  • 1,120
2
votes
2 answers

Spring Integration - JDBC channel adaptar without query result

I have a problem when my query return null or zero result inside ResultSet. I have a int-jdbc:inbound-channel-adapter with a rowMapper
2
votes
0 answers

Same Aggregated message is released multiple time through Spring Integration Aggregator

I am using Spring Integration Aggregator for grouping the messages. It is working fine when messages arrive aggregator at low rate. But at higher rates, same messages group is coming multiple times to output channel. If any one faced same issue /…
vk56
  • 21
  • 2
2
votes
1 answer

Spring boot admin server exception

I am trying to add @EnableAdminServer in spring boot application. I am added below three dependencies into my project de.codecentric spring-boot-admin-server
user2279564
  • 307
  • 1
  • 5
  • 11
2
votes
1 answer

how to share a bean across modules in spring xd

Lets say I want to create a stream with this defintion file | serviceActivator1 | transform | serviceActivator2 So I have two custom modules in this definition. My understanding is that spring xd will create a child context of each component/module…
adeelmahmood
  • 2,371
  • 8
  • 36
  • 59
2
votes
3 answers

How to handle badly formatted messages on the consumer side when working with Spring Integration and RabbitMQ

I am currently working on a project involves consuming messages from RabbitMQ brocker. However, I am still new to Spring Integration, AMQP and RabbitMQ. I have an issue with consuming malformed messages formats. When my consumer receives a…
Adelin
  • 18,144
  • 26
  • 115
  • 175
2
votes
1 answer

Spring integration - Exception whenever I create a session

My problem is related to the solution described in my previously described issue : Spring integration connecting inbound HTTP gateway with outbound Websocket gateaway. To sum-up quickly what I'm trying to do, is that I want to transfer a HTTP REST…
Omar BELKHODJA
  • 1,622
  • 1
  • 12
  • 18
2
votes
2 answers

Transfer file from ftp Server to another ftp server using spring integration ftp support

I am new to Spring and I am currently working on spring integration with ftp support. I made a transfer from local directory to a server(filZilla). I downloaded the file from server and it was fine. But I want to find how I can Transfer file from…
Ahmed
  • 23
  • 3
1 2 3
99
100