java.lang.IllegalStateException: no-arg receive is not supported, because no pollable reply channel has been configured

Spring JIRA | Iwein Fuld | 9 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    If you're using boot 1.4.x you need to modify the @springBootTest annotation to @SpringBootTest(classes = DataFlowServerConfiguration.class). 1.3.8 doesn't have this problem as well.
    via GitHub by trisberg
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    samebug tip
    Spring Boot 1.4 changed their annotation system a little. Try using the @SpringBootApplication annotation for better results.
  4. 0

    Error while Implementing HATEOAS in Spring

    Stack Overflow | 3 years ago | Sunil Ks
    java.lang.IllegalStateException: Could not find current request via RequestContextHolder
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    no-arg receive is not supported, because no pollable reply channel has been configured

    at org.springframework.util.Assert.state()
  2. Spring Core
    Assert.state
    1. org.springframework.util.Assert.state(Assert.java:384)
    1 frame
  3. Spring Integration Core
    AbstractMessagingGateway.receive
    1. org.springframework.integration.gateway.AbstractMessagingGateway.receive(AbstractMessagingGateway.java:113)
    1 frame
  4. org.springframework.integration
    HttpInvokerIntegrationTests.inboundReception
    1. org.springframework.integration.httpinvoker.HttpInvokerIntegrationTests.inboundReception(HttpInvokerIntegrationTests.java:29)
    1 frame