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.
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…
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…
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…
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…
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…
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…
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,…
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…
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…
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…
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: [
…
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…