Questions tagged [spring-integration-dsl]
861 questions
0
votes
1 answer
Spring Integration enrich/transform message using Rest call
In Spring Integration, I have message like following :
{
"name":"House",
"attributeIds": [1,3,5]
}
I need to enrich/transform this message using some Rest Service, which will give me the attribute values.
For example…

Roman Lebedev
- 903
- 1
- 6
- 16
0
votes
1 answer
How do i send response back to Gateway interface?
im currently getting this error :
DestinationResolutionException:
no output-channel or replyChannel header available .
I have a file gateway that is injected in a controller
@MessagingGateway
public interface FileGateway {
…

user2041176
- 33
- 6
0
votes
1 answer
IntegrationFlow HttpRequestHandlingMessagingGateway reply directly
I am new to Spring Integration and i am trying to use the HttpRequestExecutingMessageHandler and the HttpRequestHandlingMessagingGateway. The Handler is sending a POST Request and expecting reply. The Gateway is consuming the request. It works fine,…

Anton Styopin
- 753
- 4
- 17
- 35
0
votes
1 answer
Spring Integration: start new transaction in my Message flow IntegrationFlowBuilder to commit change and resume the outer transaction
My jdbcSourceMessage execute a select for update with batch of 100 rows at a time.
While the integrationFlow is been executed in a Transaction to hold a lock to the database for the fetched batch.
I would like to start new Transaction for my…

Mohamed Ali
- 11
- 1
0
votes
2 answers
Spring Integration HttpRequestExecutingMessageHandler ContentType Issue
I am facing a problem with Spring Integration. I am trying to execute a rest call via HttpRequestExecutingMessageHandler. My rest endpoint is accepting content-type 'application/json' only.
The problem is that the HttpRequestExecutingMessageHandler…

Anton Styopin
- 753
- 4
- 17
- 35
0
votes
1 answer
Handle exceptions in Amqp.outboundAdapter
I'm using publisher confirms with Amqp.outboundAdapter, and I want to manage exception cases correctly.
According to the following adapter;
How can I catch network/connection failures
How can I catch exceptions which are thrown in ack, and nack…

Rahman Usta
- 716
- 3
- 14
- 28
0
votes
1 answer
How to guarantee that job is finished before starting the next step of IntegrationFlow?
I have following flow declaration:
return flow -> flow.handle(myHandler)
.handle(springBatchJobLauncher)
.gateway(acknowledgementFlow);
launcher looks like this:
@ServiceActivator
public…

gstackoverflow
- 36,709
- 117
- 359
- 710
0
votes
0 answers
Spring Integration DSL HTTP outbound gateway support byte array as payload
Is it possible to provide a byte array instead of a File to the Http.outboundGateway for multi-part? This implementation is supported by the REST template (see:…

Blink
- 1,408
- 13
- 21
0
votes
2 answers
How to implement enricher using spring integraton java DSL?
I want to rewrite following xml sample using java DSL
xml config: