org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'tap:stream:foo.time.0.tap.bridge'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers

Spring JIRA | Gary Russell | 2 years 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Spring Integration: Dispatcher has no subscribers for channel 'unknown.channel.name'

    Stack Overflow | 8 months ago | fandingo
    org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'unknown.channel.name'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
  4. 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

    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 'tap:stream:foo.time.0.tap.bridge'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers

      at org.springframework.integration.channel.AbstractSubscribableChannel.doSend()
    2. Spring Integration Core
      WireTap.preSend
      1. org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:81)
      2. org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:277)
      3. org.springframework.integration.channel.interceptor.WireTap.preSend(WireTap.java:129)
      3 frames