Questions regarding the usage of the Spring Integration Java DSL (Domain Specific Language) extension
The Spring Integration JavaConfig and DSL extension provides a set of convenient Builders and a fluent API to configure Spring Integration message flows from Spring @Configuration classes.
I am struggling with configuring a "custom" ObjectMapper to be used by the Spring Integration DSL transformers.
I receive an java.time.Instant json representations that I would like to parse to object properties. i.e:
{"type": "TEST",…
I want to use Spring Boot and Integration DSL to send messages as HTTP Post to a rest service. Does anyone have an example of how to do this with (basic) authentication?
Everything else seems to be working fine. The log shows…
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 >…
I keep getting an Exception for the below code:
org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
@Bean
public MessageChannel topicChannel(){
return new DirectChannel();
}
@Bean
public ActiveMQQueue…
Can't find an example anywhere using spring integration DSL only xml. Any pointers appreciated, also need the poller to trigger on file creation and modification
I have a simple Spring Integration 4 Java DSL flow which uses a DirectChannel's LoadBalancingStrategy to round-robin Message requests to a number of possible REST Services (i.e. calls a REST service from one of two possible service endpoint…
I'm implementing a content based router in camel using XPath.
But for some reason the XPath expression doesn't evaluate the content and always the otherwise path is chosen. This is the route I defined in my camel-context:
I'm quite new to Spring Integration and am having some difficulties with the following issue:
I have several files stored in my DB. I have functionality that allows users to specify one or more of these files to export to a particular SFTP…
I'm using a queue channel with queue capacity of 1000, what I'd like to know. When my application is being restarted, what will happen to those messages which are being stored in my queue. Will there be a message loss? Is it possible to handle this…
I'm going to create one rest services in rest dsl xml. On that I have created one routes. For the route I am going to call my own microservices (this is created other project) for using toD uri. Once I get response I am going to take the values from…
Is there a way to add custom AuthenticationSuccessHandler when configuring through SamlConfigurer in spring dsl.
I want to add a JWT token on successful authentication.
Note: I see a PR which is not merged and it is what I looking for. But is there…
I'm trying to read file, but I need to split it line by line using Spring Integration DSL. What I need to add into my integration flows to make it works
Message source
@Bean
public MessageSource sourceDirectory() {
…
I have request xml which is consumed by target system. Target system accpets XML but format is different.So I need to build marshal and unmarshal logic to get data flowing in my route to Target System. So is there any way where I can achive using…
Using single SFTP channel I need to process two remote directories lowpriority and highprioiry but lowpriority files pick after the highpriority .
please let know how handle multiple directories in SFTP inbound adapter with single channel ?
We can…