Questions tagged [spring-integration-dsl]
861 questions
0
votes
1 answer
Spring Integration: Switch routing dynamically
A spring integration based converter consumes the messages from one system, checks, converts and sends it to the other one.
Should the target system be down, we stop the inbound adapters, but would also like to persist locally or forward the…

LHA
- 37
- 5
0
votes
1 answer
Spring Integration : SimpleAsyncTaskExecutor
I have read another issue in this website like this but I don't get how to resolve the issue.
Spring Integration: Application leaking SimpleAsyncTaskExecutor threads?
My error is similar to previous link
SimpleAsyncTaskExecutor-2327" - Thread…

Reyfren
- 51
- 1
- 6
0
votes
1 answer
TcpReceivingChannelAdapter vs TcpSendingMessageHandler
Why channel can be set on TcpReceivingChannelAdapter, the inbound adapter, but not on TcpSendingMessageHandler, the outbound adapter?
Why outbound adapter is called TcpSendingMessageHandler, why handler, not adapter?
One would intuitively expects…

Espinosa
- 2,491
- 24
- 28
0
votes
1 answer
Spring Integration flow calling REST service
I have the below integration flow defined in my project
///
public IntegrationFlow acarsEventFlow() {
return IntegrationFlows
//.from(Jms.messageDrivenChannelAdapter(this.acarsMqListener)) //Get Message from MQ
…

Developer
- 239
- 1
- 3
- 17
0
votes
2 answers
How to implement simple echo socket service in Spring Integration DSL
Please,
could you help with implementation of a simple, echo style, Heartbeat TCP socket service in Spring Integration DSL? More precisely how to plug Adapter/Handler/Gateway to IntegrationFlows on the client and server side. Practical examples are…

Espinosa
- 2,491
- 24
- 28
0
votes
0 answers
LastModifiedFileListFilter not working as expected
public FileInboundChannelAdapterSpec rtwTifFileSharePoller() {
CompositeFileListFilter allFilters = new CompositeFileListFilter<>();
allFilters.addFilter(new SimplePatternFileListFilter("*.tif"));
allFilters.addFilter(new…

Guru
- 2,739
- 1
- 25
- 27
0
votes
1 answer
Spring Integration one channel for multiple producers and consumers
I have this direct channel:
@Bean
public DirectChannel emailingChannel() {
return MessageChannels
.direct( "emailingChannel")
.get();
}
Can I define multiple flows for the same channel like this:
@Bean
public…

akuma8
- 4,160
- 5
- 46
- 82
0
votes
1 answer
How to set an ID to a http inbound gateway (DSL-style)?
In my Spring Boot application, I have the following inbound-gateway (Java DSL):
@Bean
public IntegrationFlow upperCaseFlow() {
return IntegrationFlows
.from(
…

bmylavar
- 61
- 1
- 12
0
votes
0 answers
Spring integration InboundAdapter/OutboundAdapter flow
Am trying to read from RabbitMQ queue using Amqp.InboundAdapter, process it & then push it onto another queue.
So the flow looks like this:
Amqp.InboundAdapter --> service activator --> Amqp.outboundAdapter
But the problem is the processing speed…

user3561281
- 43
- 4
0
votes
0 answers
spring integration dsl aggregator not releasing the messages
We are using the below code for aggregation and we have noticed the messages are not being released intermittently to subsequent flow. We enabled the trace log for aggregate package
IntegrationFlows
.from("upstream")
…

nagendra
- 593
- 1
- 9
- 29
0
votes
1 answer
Spring integration Jpa | To insert row with Jpa in java dsl
I have searched quite some bit on the internet, but could not get a handle for below:
A concrete example to insert a row with JpaUpdatingOutboundEndpointSpec.
@Bean
public JpaUpdatingOutboundEndpointSpec insertToTable() {
return…

Guru
- 2,739
- 1
- 25
- 27
0
votes
1 answer
Spring Integration kafka outbound channel adapter
I have a model object which is populated after several transformation and parsing. Now I need to send the message attribute within the model to kafka using spring integration.
I am able to construct the key using the method messageKey but how can i…

Developer
- 239
- 1
- 3
- 17
0
votes
1 answer
Unable to delete File resources in advice in Spring Integration Flow
I have 3 flows defined in a file, to poll tif files and send it to a channel. The channel is linked to another flow that converts and copies into a pdf file in the same location. Then the third flow ftp's the pdf file. An advice in linked to ftp…

Guru
- 2,739
- 1
- 25
- 27
0
votes
1 answer
How to unmark a duplicate for restarting flow though inbound that has prevent duplicates set
The question is, in spring integration, the inbound adapter has preventDuplicates(true) , how does this work under the hood? The reason for the question being, in case a flow is interrupted and does not complete for some exceptions raised in either…

Guru
- 2,739
- 1
- 25
- 27
0
votes
1 answer
Spring Integration to read message from Kafka topic based on timestamp
While using spring kafka I am able to read the messages from the topic based on time stamp with the below code -
ConsumerRecords records = consumer.poll(100);
if (flag) {
…

Developer
- 239
- 1
- 3
- 17