java.lang.IllegalStateException: receive is not supported, because no pollable reply channel has been configured at org.springframework.util.Assert.state(Assert.java: 384) at org.springframework.integration.gateway.MessagingG atewaySupport.receive(MessagingGatewaySupport.java :197) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.invokeGatewayMethod(GatewayProxyFact oryBean.java:294) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.doInvoke(GatewayProxyFactoryBean.jav a:269) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.invoke(GatewayProxyFactoryBean.java: 260) at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172) at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:202)

spring.io | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    no pollable reply channel has been configured - Spring Forum

    spring.io | 8 months ago
    java.lang.IllegalStateException: receive is not supported, because no pollable reply channel has been configured at org.springframework.util.Assert.state(Assert.java: 384) at org.springframework.integration.gateway.MessagingG atewaySupport.receive(MessagingGatewaySupport.java :197) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.invokeGatewayMethod(GatewayProxyFact oryBean.java:294) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.doInvoke(GatewayProxyFactoryBean.jav a:269) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.invoke(GatewayProxyFactoryBean.java: 260) at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172) at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:202)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      receive is not supported, because no pollable reply channel has been configured at org.springframework.util.Assert.state(Assert.java: 384) at org.springframework.integration.gateway.MessagingG atewaySupport.receive(MessagingGatewaySupport.java :197) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.invokeGatewayMethod(GatewayProxyFact oryBean.java:294) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.doInvoke(GatewayProxyFactoryBean.jav a:269) at org.springframework.integration.gateway.GatewayPro xyFactoryBean.invoke(GatewayProxyFactoryBean.java: 260) at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172) at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:202)

      at $Proxy0.getArtifact()
    2. Unknown
      TestApp.main
      1. $Proxy0.getArtifact(Unknown Source)
      2. TestApp.main(TestApp.java:12)
      2 frames