Questions tagged [spring-integration-dsl]

861 questions
0
votes
2 answers

Spring Integration Java DSL SFTP Exception Handling

I am using spring Integration for my file transfer following code is working fine, but if I remove folder from source directory It start throwing exceptions. IntegrationFlow flow = IntegrationFlows.from(Sftp.inboundAdapter(inboundSftp) …
0
votes
1 answer

What is good way to register adjacent HTTP requests with the Spring integration flow

What is good way to register adjacent HTTP requests with the Spring integration flow? My application is: For the every customer (has it's own flow, which start is scheduled by the poller) GET operation 1 in the source application and the result is…
Mike
  • 541
  • 1
  • 4
  • 18
0
votes
1 answer

Spring integration - aggregator from sftp inbound

What is the best solution to aggregate one message from sftp inbound message source that contains multiple files? We have on remote machine 3 files that need to be received. After that we combine content of those files to one json message and send…
0
votes
1 answer

Why Spring Integration Java DSL request for the JSON is not working

I have the bean definition @Bean public IntegrationFlow inbound() { return IntegrationFlows.from(MessageChannels.queue("getSend1")) .handle(Http.outboundGateway("http://localhost:8055/greeting").httpMethod(HttpMethod.GET) …
Mike
  • 541
  • 1
  • 4
  • 18
0
votes
1 answer

Spring Integration splitter and aggregator configuration

I have a scenario where I need to invoke A and B system's REST call in parallel and aggregate the responses and transform into single FinalResponse. To achieve this, I am using Spring Integration splitter and agreggator and the configuration is as…
0
votes
1 answer

Modularizing Spring Integration Gateways

In attempting to modularize Spring Integration flows, I've started using a pattern where I put inbound and outbound gateways in separate classes, then import them where necessary to build flows. As an example, here is a minimal integration testing…
sparty02
  • 566
  • 1
  • 6
  • 13
0
votes
2 answers

How to compose Spring Integration flows via DSL

I'm trying to figure out how to split up spring integration flows into multiple sub flows and compose them together. Ultimately, I'm trying to lay out a pattern in which I can create modules of subflows that can be pieced together for common…
sparty02
  • 566
  • 1
  • 6
  • 13
0
votes
1 answer

How to create dynamically Spring Integration MessageChannels

In the Spring integration the message channel can be configured like this:
0
votes
1 answer

Spring Integration DSL: Dispatcher has no subscribers

I have a requirement to receive zip file using SFTP. Upon we should archive the file as it is, also processes the file after unzipping the zip files. Below are the codes for the main flow and subflow. agentDataArchiveChannelAdapter() is working fine…
Debopam
  • 3,198
  • 6
  • 41
  • 72
0
votes
1 answer

Spring Integration: reuse MessageProducer definition

I have an outbound gateway for soap calls (MarshallingWebServiceOutboundGateway) with elaborate setup. I need to use that gateway definition from multiple flows. The question spring-integration: MessageProducer may only be referenced once is…
dschulten
  • 2,994
  • 1
  • 27
  • 44
0
votes
0 answers

Spring-Integration: Cannot Consume from custom message adapter using IntegrationFlow

I have created a MessageAdapter by extending MessageProducerSupport. I produce message to output channel by calling MessageProducerSupport.sendMessage. Then I defined an IntegrationFlow to consume messages from the message adapter, and send it to a…
sansari
  • 558
  • 1
  • 7
  • 17
0
votes
1 answer

Spring Batch Integration Timeout in RemoteChunking

I'm trying to configure a RemoteChunking task using Spring Boot, Spring Batch and Spring Integrations. I have configured an activeMQ server and I start configuring Spring Batch following the official docs…
0
votes
0 answers

Poller bean not being used by @Poller in @InboundChannelAdapter

I've been trying to convert my XML Spring Integration job to Java and I've encountered some difficulties. One of them is that I can't seem to detect and use my Poller bean with the @Poller annotation on my InboundChannelAdapter. @Bean(name =…
redAce
  • 1,558
  • 4
  • 14
  • 24
0
votes
1 answer

Converting wire-tap from XML syntax to Spring Integration Java annotation or DSL

I've found so many different ways of converting my wire-tap loggers into a Java config but none of them seem to work. Here is my XML version :
0
votes
1 answer

Spring Integration redelivery via errorChannel throw with JmsTransactionManager doesnt honor maximumRedeliveries

Related to SO question: Spring Integration Java DSL using JMS retry/redlivery Using a transacted poller and JmsTransactionManager on a connectionFactory with maximumRedeliveries set to 3 results in a doubling of the actual redlievery attempts. How…
mmeyer
  • 3,598
  • 1
  • 19
  • 22