org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'org.springframework.context.support.GenericApplicationContext@73d4cc9e.replyChannel'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers

Spring JIRA | Artem Bilan | 1 year ago
  1. 0

    The test-case to reproduce: {code:java} @Bean public IntegrationFlow testGateway() { return f -> f.gateway("processChannel", g -> g.replyChannel("replyChannel")); } @Bean public IntegrationFlow subFlow() { return IntegrationFlows .from("processChannel") .<String, String>transform(String::toUpperCase) .channel("replyChannel") .get(); } {code} Where we end up with: {noformat} org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'org.springframework.context.support.GenericApplicationContext@73d4cc9e.replyChannel'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:81) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:442) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:392) at org.springframework.integration.dsl.test.flowservices.FlowServiceTests.testSo32536896(FlowServiceTests.java:105) {noformat} The issue in on the internal {{GatewayMessageHandler}} which must propagate its {{start}} to the {{GatewayProxyFactoryBean}} delegate which is starting, in its turn, the internal {{replyMessageCorrelator}} endpoint for each {{MethodInvocationGateway}}.

    Spring JIRA | 1 year ago | Artem Bilan
    org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'org.springframework.context.support.GenericApplicationContext@73d4cc9e.replyChannel'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
  2. 0

    The test-case to reproduce: {code:java} @Bean public IntegrationFlow testGateway() { return f -> f.gateway("processChannel", g -> g.replyChannel("replyChannel")); } @Bean public IntegrationFlow subFlow() { return IntegrationFlows .from("processChannel") .<String, String>transform(String::toUpperCase) .channel("replyChannel") .get(); } {code} Where we end up with: {noformat} org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'org.springframework.context.support.GenericApplicationContext@73d4cc9e.replyChannel'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:81) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:442) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:392) at org.springframework.integration.dsl.test.flowservices.FlowServiceTests.testSo32536896(FlowServiceTests.java:105) {noformat} The issue in on the internal {{GatewayMessageHandler}} which must propagate its {{start}} to the {{GatewayProxyFactoryBean}} delegate which is starting, in its turn, the internal {{replyMessageCorrelator}} endpoint for each {{MethodInvocationGateway}}.

    Spring JIRA | 1 year ago | Artem Bilan
    org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'org.springframework.context.support.GenericApplicationContext@73d4cc9e.replyChannel'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
  3. 0

    Spring-XD Error while processing: KafkaMessage, MessageDispatchingException: Dispatcher has no subscribers

    Stack Overflow | 2 years ago
    org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'admin:default,admin,singlenode,hsqldbServer:9393.spark-streaming-word-count.0'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Integration - Aysnc-Gateway to Transformer to Spring Batch - Why Dispatcher has no subscribers?

    Stack Overflow | 2 years ago | Kiran
    org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'org.springframework.web.context.WebApplicationContext:/contextRoot/AppFrontController.outAsyncIntChannel'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
  6. 0

    Can I use both configuring SI with annotation in java file and xml?

    Stack Overflow | 1 year ago | verystrongjoe
    org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'application:8090.blue-hub-start-channel'.

    5 unregistered visitors
    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. org.springframework.messaging.MessageDeliveryException

      Dispatcher has no subscribers for channel 'org.springframework.context.support.GenericApplicationContext@73d4cc9e.replyChannel'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers

      at org.springframework.integration.channel.AbstractSubscribableChannel.doSend()
    2. Spring Integration Core
      AbstractMessageChannel.send
      1. org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:81)
      2. org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:442)
      3. org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:392)
      3 frames
    3. org.springframework.integration
      FlowServiceTests.testSo32536896
      1. org.springframework.integration.dsl.test.flowservices.FlowServiceTests.testSo32536896(FlowServiceTests.java:105)
      1 frame