Questions tagged [spring-dsl]

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.

See:

145 questions
0
votes
1 answer

@JmsListener throwing MessageConversionException

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:…
tarmogoyf
  • 298
  • 3
  • 17
0
votes
1 answer

Spring Integration Aggregation Memory Leak

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…
0
votes
1 answer

Apache Camel: set boolean header using simple contains

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.
DummyGuy
  • 425
  • 1
  • 8
  • 20
0
votes
1 answer

Apache camel setHeader in spring xml dsl

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…
Beyond1337
  • 3
  • 1
  • 4
0
votes
0 answers

call to oauth to get token in apache camel

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.
DummyGuy
  • 425
  • 1
  • 8
  • 20
0
votes
0 answers

Apache Camel: GET service call using toD() results in infinite loop

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…
Arjun
  • 21
  • 3
0
votes
0 answers

Connect to WebSphere MQ from Spring using Spring configuration

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…
Anirban
  • 925
  • 4
  • 24
  • 54
0
votes
1 answer

Multithreading Spring integration DSL

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…
0
votes
1 answer

Spring Integration - Two permanents connections with RoundRobin and Failover

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…
0
votes
1 answer

Java Mail Listner : This email server does not support RECENT or USER flags

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…
VGH
  • 305
  • 6
  • 20
0
votes
1 answer

Java mail listener using Spring Integration : mail isn't received by multiple app instances

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))) …
0
votes
1 answer

Java mail listener using Spring Integration

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))) …
VGH
  • 305
  • 6
  • 20
0
votes
1 answer

Is http-inbound gateway can be do something like preHandle and postHandle of interceptor?

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…
chris
  • 51
  • 1
  • 5
0
votes
1 answer

SAML Request without service provider certificate

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…