Questions tagged [spring-integration]

Use this tag for questions about the Spring Integration project. It is not intended for general questions about integrating other Spring projects with other technologies.

Spring Integration provides an extension of the Spring programming model to support the well-known Enterprise Integration Patterns. Spring Integration enables lightweight messaging within Spring-based applications and supports integration with external systems via declarative adapters. Those adapters provide a higher-level of abstraction over Spring's support for remoting, messaging, and scheduling.

Use this tag for questions about the Spring Integration project. It is not intended for general questions about integrating other Spring projects with other technologies. For example "How do I integrate Spring MVC with Struts?" would not be an appropriate question for this tag. Whereas "How do I solve such-and-such issue with the Spring Integration xyz channel adapter?", or "How can I use Spring Integration to communicate with [some legacy system]?" would be appropriate.

Resources

See Also

7860 questions
2
votes
1 answer

Error using Kafkamessagedriven channel adapter

I am using spring-integration kafka to talk to kafka. The following is the configuration that I did for using the messagedrivenchannel adapter.
Prabhakar D
  • 1,084
  • 2
  • 15
  • 35
2
votes
2 answers

Spring XD, Reactor Streams: configuration without XML?

On http://docs.spring.io/spring-xd/docs/1.2.1.RELEASE/reference/html/#reactor-streams it is documented, how a Reactor Stream is implemented in Spring XD. According to this documentation I have built my own…
Johannes Flügel
  • 3,112
  • 3
  • 17
  • 32
2
votes
0 answers

Spring Integration Error -- Dispatcher has no subscribers with Spring DSL

I keep getting an Exception for the below code: org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers @Bean public MessageChannel topicChannel(){ return new DirectChannel(); } @Bean public ActiveMQQueue…
Digital
  • 549
  • 1
  • 7
  • 26
2
votes
2 answers

Convert JMS out bound channel adapter to equavalent Spring Integration DSL in java 1.7

How can I convert to equivalent Spring Integration DSL in java 1.7 Below is the ActiveMQ configuration:
Digital
  • 549
  • 1
  • 7
  • 26
2
votes
1 answer

Pop3MailReciever is not deleting messages

I'm connecting to a POP3 mail server using the Pop3MailReciever in Spring Integration. I want to delete the message after processing it. I tried setting the ShouldDeleteMessages flag, but it does not delete the message. This is the code doing the…
Rodjer
  • 55
  • 4
2
votes
1 answer

Query Spring Integration For Most Recent Message processed

Is there a way to query a Spring Integration channel for the last time it received a message?
Nixx
  • 370
  • 3
  • 20
2
votes
1 answer

DefaultMessageListenerContainer recoveryInterval with specific retry count

We are using Spring Integration in our project and we have a requirement where If IBM MQ goes down then we will have to auto connect to IBM MQ when it is up. We have done this implementation using recoveryInterval option of…
sach
  • 127
  • 3
  • 13
2
votes
1 answer

Could not connect to broker URL after 5000 ms [JMS]

I use Spring Integration 3.0.0 with Active MQ 5.11.1 it works without any problem. but I noticed that when I stop Active MQ, i get error in my logs every 5 seconds. if you have an idea for this problem? Error : ERROR…
Rami
  • 73
  • 1
  • 7
2
votes
1 answer

Trying to stop a message-driven-channel-adapter but droppping a message

I'm trying to stop a message-driven-channel-adapter using the SmartLifecycle stop method, but maybe 1/3 of the time, this results in the warning message: DefaultMessageListenerContainer - Rejecting received message because of the listener container…
Matthew Daws
  • 1,837
  • 1
  • 17
  • 26
2
votes
1 answer

Spring Integration discard message to replyChannel

I have a nested chain. I would like to add a filter in the inner chain so that it can continue with the flow under certain condition Or exit from the chain. If I don't set the discard-channel or set the discard-channel to "nullChannel", it hangs.…
Krishna
  • 43
  • 7
2
votes
0 answers

Async invoke ws-addressing in spring integration

Is it possible make async invoke a web service with callback? i saw in 4.2 new feature barrier, may be with this and inbound-gateway + outbound-gateway we could make async. Please help.
Sotona
  • 158
  • 11
2
votes
0 answers

@MessageMapping in Spring how does it work internally

The annotation @MessageMapping is used for listening to a queue. I want to know how Spring maps the method to any custom listener.
unnik
  • 1,123
  • 5
  • 18
  • 37
2
votes
1 answer

Sending an (asynchronous) message from one Spring Boot application to another using Spring Integration using annotations

I have been messing around with Spring Integration, and I'd like to use its capabilities in a project. I have two different applications, one is a business-sided one, which when users do certain actions, should send messages to another application.…
Kristof
  • 1,684
  • 2
  • 23
  • 49
2
votes
1 answer

Spring Integration: Programmatically send request to outbound gateway

I am using spring integration to send requests to a web service endpoint (also configured using integration) using data generated by integration elements. There is a part in my workflow which I have to program myself. Usually I create a gateway…
Samantha Catania
  • 5,116
  • 5
  • 39
  • 69
2
votes
1 answer

Spring integration DSL creating JMS Outbound Adapter in java 1.7

I am trying to create a integration flow for JMS OutboundAdapter through which I need to send message to the ActiveMQTopic. But I really stuck when I am trying to convert the the xml tag to dsl specific code, not able to convert some xml tag to…
David
  • 109
  • 1
  • 16