org.springframework.messaging.MessageDeliveryException: Message broker is not active.

Spring JIRA | Prashant Deva | 3 years ago
  1. 0

    if you use {{.enableStompBrokerRelay()}} and you don't have a msg queue running, the logs get bombard by this exception every few mileseconds. {code} org.springframework.messaging.MessageDeliveryException: Message broker is not active. INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler.handleMessageInternal(StompBrokerRelayMessageHandler.java:378) INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.broker.AbstractBrokerMessageHandler.handleMessage(AbstractBrokerMessageHandler.java:171) INFO [LineHandler-1] [stderr] at org.springframework.messaging.support.ExecutorSubscribableChannel.sendInternal(ExecutorSubscribableChannel.java:64) INFO [LineHandler-1] [stderr] at org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:116) INFO [LineHandler-1] [stderr] at org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:98) INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:129) INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:48) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:93) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:146) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:112) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:106) INFO [LineHandler-1] [stderr] at com.dripstat.dripcast.GlobalScoreFirebase$1.onDataChange(GlobalScoreFirebase.java:49) {code}

    Spring JIRA | 3 years ago | Prashant Deva
    org.springframework.messaging.MessageDeliveryException: Message broker is not active.
  2. 0

    if you use {{.enableStompBrokerRelay()}} and you don't have a msg queue running, the logs get bombard by this exception every few mileseconds. {code} org.springframework.messaging.MessageDeliveryException: Message broker is not active. INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler.handleMessageInternal(StompBrokerRelayMessageHandler.java:378) INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.broker.AbstractBrokerMessageHandler.handleMessage(AbstractBrokerMessageHandler.java:171) INFO [LineHandler-1] [stderr] at org.springframework.messaging.support.ExecutorSubscribableChannel.sendInternal(ExecutorSubscribableChannel.java:64) INFO [LineHandler-1] [stderr] at org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:116) INFO [LineHandler-1] [stderr] at org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:98) INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:129) INFO [LineHandler-1] [stderr] at org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:48) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:93) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:146) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:112) INFO [LineHandler-1] [stderr] at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:106) INFO [LineHandler-1] [stderr] at com.dripstat.dripcast.GlobalScoreFirebase$1.onDataChange(GlobalScoreFirebase.java:49) {code}

    Spring JIRA | 3 years ago | Prashant Deva
    org.springframework.messaging.MessageDeliveryException: Message broker is not active.
  3. 0

    Configure External Broker(RabbitMQ) In Spring4+STOMP+SockJS Application

    Stack Overflow | 3 years ago | Gurminder Singh
    org.springframework.messaging.MessageDeliveryException: Message broker is not active.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring 4.0.5 websockt integration apollo with the exception "Message broker is not active"

    Stack Overflow | 3 years ago | user3686861
    org.springframework.messaging.MessageDeliveryException: Message broker is not active.
  6. 0

    theotherian's blog: using spring boot, spring websockets and stomp to create a browser chat service

    theotherian.com | 1 year ago
    org.springframework.messaging.MessageDeliveryException: Message broker is not active.

    2 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

      Message broker is not active.

      at org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler.handleMessageInternal()
    2. Spring Messaging
      AbstractMessageSendingTemplate.convertAndSend
      1. org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler.handleMessageInternal(StompBrokerRelayMessageHandler.java:378)
      2. org.springframework.messaging.simp.broker.AbstractBrokerMessageHandler.handleMessage(AbstractBrokerMessageHandler.java:171)
      3. org.springframework.messaging.support.ExecutorSubscribableChannel.sendInternal(ExecutorSubscribableChannel.java:64)
      4. org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:116)
      5. org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:98)
      6. org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:129)
      7. org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:48)
      8. org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:93)
      9. org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:146)
      10. org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:112)
      11. org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:106)
      11 frames
    3. com.dripstat.dripcast
      GlobalScoreFirebase$1.onDataChange
      1. com.dripstat.dripcast.GlobalScoreFirebase$1.onDataChange(GlobalScoreFirebase.java:49)
      1 frame