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

Non-reactive Spring web with kotlin functional router

Can I use new Kotlin DSL for setting up routing, for example as in : router { ("/blog" and accept(TEXT_HTML)).nest { GET("/", fooHandler::findAllView) GET("/{slug}", fooHandler::findOneView) } ("/api/blog" and…
Saša Šijak
  • 8,717
  • 5
  • 47
  • 82
0
votes
1 answer

How to set Queue name from Header value in Apache Camel

Im trying to set activemq queue name from header value but its not happening below is my Spring DSL /Message/@IntObjectName
herman shafiq
  • 499
  • 2
  • 8
  • 26
0
votes
1 answer

Spring Integration - ActiveMQ to Kafka

I am currently trying to write an adapter which will consume messages from ActiveMQ and publish it to Kafka. I am thinking of using spring integration to integrate these two messaging systems. My problem is that my application will not maintain…
0
votes
1 answer

Camel Splitter store CamelSplitSize and processed rows on failure

http://camel.apache.org/splitter.html [1] From [1] link i saw CamelSplitSize will be on the completed Exchange. I am learning camel and i would like to know is there a way possible to split the xml file containing 100 rows (assuming 100 rows) If…
Vikram
  • 635
  • 1
  • 9
  • 29
0
votes
1 answer

Issue with Camel custom @Converter using Spring DSL

I Just want to learn custom converter and ran into issue. Any help is much appreciated. Camel Version 2.17 and JBoss Fuse 6.3 @Converter public class MyConvertor{ public MyConvertor(){} @Converter public static String…
0
votes
1 answer

How to set Correlation ID in spring DSL

How to set the correlation id in Spring DSL? The below code doesn't reflect correlation ID in Active MQ IFS123 tried with
0
votes
1 answer

Jasypt encryption in spring dsl

I am trying to add encryption in properties file, The content is not getting decrypt My Spring DSL looks like:
0
votes
2 answers

Spring Integration JMS does not shut down

I have a service which is intended to consume messages from a JMS queue. This code never seems to exit on shutdown and gets stuck in a loop around line 565 of org.springframework.jms.listener.DefaultMessageListenerContainer. Any idea it would do…
0
votes
1 answer

Spring integration DSL CPU usage

We use Spring integration DSL pretty heavily in our app and am currently troubleshooting high CPU usage. Looking into the threads that are consuming high CPU, noticed that spring integration call stack is too deep, more than 500+ lines. Our spring…
mzafer
  • 791
  • 7
  • 21
0
votes
0 answers

Is there any workaround for using nested loops in camel routes with spring DSL?

I need to iterate over a list of items in a route. And inside that route I again have to iterate over a list of items. I'm using loop for that, and for getting to know the current iteration using the CamelLoopIndex property. The problem here is,…
arshad.xyz
  • 21
  • 1
  • 3
0
votes
1 answer

Apache Camel with Java and Spring Code on Java DSL

Am trying to develop a integration application with camel using JAVA DSL but when i try to autowire my connection helper i get a null value Here is the code of : import…
Vikram
  • 635
  • 1
  • 9
  • 29
0
votes
1 answer

Routing Logic inside ActiveMQ to specific worker pool

I have a scenario, I have the same queue configured for SMS and EMAILS. I want the ActiveMQ to route the message to specific consumer pool i.e. if it is an SMS, then it must be routed to a pool of worker threads for SMS. So, If I need to scale up…
Sabya
  • 197
  • 4
  • 17
0
votes
1 answer

Spring Integration "Publish Subscribe Channel" with Spring DSL

I am trying to build a simple flow where my flow starts of by receiving a HTTP Post Request VIA a HTTP Inbound Channel Adapter and publishes it to a 'SubscribableChannel'. There could be 'N' number of consumers subscribed to this channel. The…
0
votes
2 answers

How to create a DSL Groovy config file using an arbitrary Map (dynamic object)

How do I convert an arbitrary Groovy map / list to the config style DSL syntax that Groovy provides? Example: def config = [ 'test': 'lalala', 'nestedObject': [ foo1: 'foo1 val', foo2: 'foo2 val', nested2: [ …
Vahid Pazirandeh
  • 1,552
  • 3
  • 13
  • 29
0
votes
1 answer

spring-integration-dsl: Make Feed-Flow Work

I'm trying to code a RSS-feed reader with a configured set of RSS-feeds. I thought that a good approach is to solve that by coding a prototype-@Bean and call it with each RSS-feed found in the configuration. However, I guess that I'm missing a point…
sjngm
  • 12,423
  • 14
  • 84
  • 114
1 2 3
9
10