Questions tagged [spring-integration-dsl]
861 questions
0
votes
1 answer
client-mode="true" and retryInterval on the inbound adapter with Client Connection factory
In spring Documentation --> 32.6 TCP Adapters it is mentioned that we use clientMode = "true" then the inbound adapter is responsible for the connection with external server.
I have created a flow in which the TCP Adapter with client connection…

shivam tiwari
- 111
- 9
0
votes
1 answer
Error while unit testing spring integration dsl
I am seeing following error while running the unit testing my spring integration code. And also i was not sure how to mock my service and other dependencies while using…

nagendra
- 593
- 1
- 9
- 29
0
votes
1 answer
How to specify different errorChannels for different parts of an IntegrationFlow
I'm currently working on a Spring Integration DSL project and I've a flow that requires handling errors differently depending on the part of the flow that fails.
My current approach was to create subFlows by chaining .gateway methods, but I'm having…

gnzlrm
- 190
- 1
- 12
0
votes
2 answers
Configure Dynamic TCP Server to send message to the client connected Spring Integration using Java DSL
I am trying to create a Integration flow :
Connection A : [ ActiveMq (queue1) ---> TCP Server (1111) ](spring boot Application) ---> [ExternalApplication (client connected to Server running on port (1111))] (Application on different Technology…

shivam tiwari
- 111
- 9
0
votes
1 answer
Why are ID and TIMESTAMP declared as transient headers in Spring Integration?
I'm trying to send/receive messages via Spring Integration's AMQP in/outbound adapters and I'm facing this problem.
After finding Gary's answer here, I started to investigate if my app sets a message ID correctly. In fact, it's taken care of…

craftingjava
- 43
- 11
0
votes
0 answers
Spring integration Kotlin DSL MessageChannels.publishSubscribe
I'm trying to work with Kotlin for Spring Integration with Java DSL.
From the Spring Integration Java DSL reference on GitHub https://github.com/spring-projects/spring-integration-java-dsl/wiki/spring-integration-java-dsl-reference#message-channels…

Johan Vergeer
- 5,208
- 10
- 48
- 105
0
votes
1 answer
Spring Integration null originalMessage in ErrorMessage
We are really confused with error handling in Spring Integration. We are using Boot 2.0.2 and Kotlin.
Within a @Transformer we throw an Exception X.
Also, within a Java DSL flow definition, we throw the same exception…

José Carlos
- 414
- 2
- 8
0
votes
1 answer
Spring integration Jms.inboundGateway is very slow compared to JmsListener
I am seeing a performance degradation when using spring integration
IntegrationFlows.from(Jms.inboundGateway(connectionFactory)
.destination("orderQueue")
.jmsMessageConverter(new…

nagendra
- 593
- 1
- 9
- 29
0
votes
1 answer
Spring integration: FileInboundAdapter to read oldest files first
I have the following FileInboundAdapter configurations:
@Bean
public IntegrationFlow fileInboundAdapterFlow() {
return IntegrationFlows.from(Files.inboundAdapter(new File("tmp"))
.preventDuplicates(true),
e ->…

Ahmed Ali
- 105
- 1
- 8
0
votes
1 answer
Spring integration: use Splitter and Aggregator
I'm reading files line by line using FileSplitter, and then filter some of the corrupted lines - as to discard some lines - in order to do webservices calls for each line.
What I need to do in addition to this is to get the file moved to completed…

Ahmed Ali
- 105
- 1
- 8
0
votes
1 answer
HttpRequestExecutingMessageHandler error using spring Http.outboundGateway dsl
I am seeing the following error when using Http.outboundGateway, Can someone help where i am going wrong
@Bean
public IntegrationFlow syncProcessFlow() {
return
// dsl code to fetch a message from Queue
...
…

nagendra
- 593
- 1
- 9
- 29
0
votes
1 answer
spring integration 406 null when passing a custom object to HttpRequestExecutingMessageHandler
I am using HttpRequestExecutingMessageHandler to make a POST request to a local service.
The service is as follows :-
@RestController
@RequestMapping("/accountbalance")
public class AccountBalanceController {
@Autowired
private…

Amar Dev
- 1,360
- 2
- 18
- 38
0
votes
1 answer
spring integration dsl :: stored procedure passing input parameter
I am trying to convert existing stored proc outbound gateway xml into dsl.

Saravanan Ramamoorthy
- 139
- 2
- 11
0
votes
0 answers
Special characters on message consume spring-integration-aws
We are sending the message to kinesis stream from the spring-integration application but while consuming the message via @StreamListener from the kinesis binder application we are getting the special characters like "�� t foo". please find below the…

siddendara
- 1
- 2
0
votes
1 answer
Object Method Reference within Spring Integration Flow
A message is received on a channel, and is processed by a transformer. The output of the transformer is the following class, which is passed on to the next step in the flow:
public class DomainBean{
public DomainBean process() {
// code
…

user1052610
- 4,440
- 13
- 50
- 101