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'm trying to receive a message asynchronously from IBM MQ:
@JmsListener(destination = "queue", containerFactory = "Factory", id = "start")
public Mono requestProcess(Message message) {return Mono.just("").then();
}
Catch:
Caused by:…
There are two separate structures that I use splitter and aggregator in Spring integration,
When I perform a load test on the system, the memory (heap) used by the service that implements Aggregator increases at the same rate to the data I feed and…
Is there any way to set header with boolean value for checking contains like this.
${headers.type} contains 'client'
This should set status as true if type contains client else false.
I just have assigned to apache camel project in the company where I work. The project is with spring xml dsl. I'm curious about strange behaviour of the attribute for name in the setHeader element. Eclipse is marking the attribute with name…
I am new to Apache Camel. I wanted to call Oauth service from my existing route and get the access token value to call another rest service. I could not find anything on web. I wanted to implement it using Spring XML.
I want to read file(s) from a location, extract the fileName & make a rest call (GET) with the fileName as a request parameter. The file name is required to be passed dynamically as each file will be unique. I used toD() after going through the…
I am using Spring DSL of Apache Camel in our project which is a Spring Boot application. We are connecting to various MQs like Apache Active MQ, Active MQ Artemis, IBM MQ in our project to send and receive message. We are able to successfully…
I want to create a simple IntegrationFlow with Spring integration, and I am having difficulties.
I want to create an integration flow that takes messages from multiple queues in Rabbit Mq and posts the messages to different Rest endpoints.
i want to…
It's possible (using the existing components of Spring-Integration) to have two permanents connections to two differents TCP Servers, that allow us to make a round-robin between the connections, and on the case of fails, try with the other…
This is a continuation of Java mail listener using Spring Integration : mail isn't received by multiple app instances . I'm using below ImapMailReceiver code :
@Bean
public ImapMailReceiver receiver() {
ImapMailReceiver receiver = new…
I'm using below code in a Springboot application:
@Bean
public IntegrationFlow mailListener() {
return IntegrationFlows.from(Mail.imapInboundAdapter(receiver()), e -> e.poller(Pollers.fixedRate(60000).maxMessagesPerPoll(-1)))
…
I'm using below code in a Springboot application:
@Bean
public IntegrationFlow mailListener() {
return IntegrationFlows.from(Mail.imapInboundAdapter(receiver()), e -> e.poller(Pollers.fixedRate(60000)))
…
I want to put a "UUID" into MDC when the service accept a http request.
Because it's convenience for log search.
I was inherited HttpRequestHandlingMessagingGateway and found the handleRequest() was final so that I can't overwrite it .
So is there…
I implemented spring boot security saml example using https://github.com/oktadeveloper/okta-spring-boot-saml-example
It's working with Okta IdP.
But, I want to send SAML Request without service provider certificate to my own IdP.
Could you please…