Questions tagged [spring-integration-dsl]

861 questions
0
votes
1 answer

Spring Integration Java DSL using JMS retry/redlivery

How can I effectively support JMS redelivery when msg handling throws an exception? I have a flow using JMS (ActiveMQ) with a connectionFactory that is configured to allow n redelivery attempts. I would like to have any error that occurs while…
mmeyer
  • 3,598
  • 1
  • 19
  • 22
0
votes
1 answer

Spring Integration with DSL: Can File Outbound Channel Adapter create file after say 10 mins of interval

I have a requirement where my application should read messages from MQ and write using file outbound channel adapter. I want each of my output file should contain messages of every 10 mins of interval. Is there any default implementation exist, or…
Ulhas N
  • 316
  • 4
  • 17
0
votes
1 answer

Spring integration JMS message Driven Channel Adapter to connect to IBM MQ using java configuration

Java configuration to connect to IBM MQ using spring integration
Sagar Shetty
  • 165
  • 2
  • 5
0
votes
1 answer

Java Shadowing with Lambdas producing awkward behavior

I'm using DSL and Lambdas with the Spring Integration library and running into a weird issue. I attempted to build an IntegrationFlow that would split file data at the newline character. When I had the lambda expression inline to the builder it…
IcedDante
  • 6,145
  • 12
  • 57
  • 100
0
votes
1 answer
0
votes
1 answer

Spring Integration : Remove Jms and Http Headers from Message

I have a integration flow like this Subscriber & Publisher Broker->queue1->Transform->HTTP CALL->HTTP Response->JMS Message->Broker->queue2 This my integration flow DSL @Bean public IntegrationFlow orchestrationFlow() { return…
edwin
  • 7,985
  • 10
  • 51
  • 82
0
votes
1 answer

Nio locker usage in spring integration java dsl for file polling

I'm trying to implement a spring integration file polling where multiple servers independently read from a common directory and process the file. Each of them after processing the file rename it .DONE so the other doesn't pick it. After observing…
0
votes
1 answer

spring integration redis poller with transaction

i use spring integeration redis,poll message from redis, like this: @Bean public PseudoTransactionManager transactionManager() { final PseudoTransactionManager pseudoTransactionManager = new PseudoTransactionManager(); return…
steven
  • 377
  • 3
  • 14
0
votes
2 answers

How to use Spring Integration to setup a ThreadPool to process a file message source?

Could somebody help me rewrite this flow using a thread pool ? The below code works, but uses a fixed delay to service incoming files: @Bean public IntegrationFlow sampleFlow() { return IntegrationFlows …
0
votes
1 answer

How to trigger a functionality after RabbitMQ retry max attempts are over? (Spring Integration - RabbitMQ Listener)

I want to trigger an email, after RabbitMQ Listener retrials are over and still if the process of handle failed. retry logic is working with below code. But how to trigger the functionality (email trigger) once the max retrial attempts are…
0
votes
2 answers

Spring Integration - publishSubscribeChannel aggregate after split

I have a DSL-based flow that uses split to iterate over a list of objects and send out a Kafka message: .transform(...) .split() .channel(KAFKA_OUT_CHANNEL) After all the messages have been sent out, I need to call a service and I also need to log…
Luciano
  • 847
  • 1
  • 11
  • 23
0
votes
1 answer

Spring Integration JMS assured message delivery using DSL

I am trying to create a flow(1) in which message is received from TCP adapter which can be client or server and it sends the message to ActiveMQ broker. My another flow(2) pick the message from required queue and send to the…
0
votes
1 answer

When receiving message MessageDeliveryException: Dispatcher has no subscribers

UPDATE: After moving fromTcp() from the holder class to the endpoint class it all worked well again, now I'm baffled why it even works now because for me it makes no sense for why it works After some headhaches and searching in all stackoverflow i…
0
votes
1 answer

How to implement the JMS Inbound & Outbound configuration in separate spring integration application?

My use case is notification service implementation in our project. We have used spring with jms and its working fine with rest services. Able to send message to queue from one application and receive a message from queue in another application using…
0
votes
1 answer

AcceptOnceFileListFilter is overriding SimplePatternFileListFilter in Spring Integration JAVA DSL

I have following code: return IntegrationFlows .from(Files.inboundAdapter(new File("data")) .filter(new SimplePatternFileListFilter("*.txt")) .filter(new AcceptOnceFileListFilter<>()), …
kleash
  • 1,211
  • 1
  • 12
  • 31