Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1722

Consumer not detectecting broker restart/stopping

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 5.1.0
    • Fix Version/s: NEEDS_REVIEW
    • Component/s: Connector
    • Labels:
      None
    • Environment:

      Windows XP, eclipse 3.2

      Description

      I have a test to assure a message consumer is still consuming messages after a central broker restart, using org.springframework.jms.listener.DefaultMessageListenerContainer.

      The channel never detects the broker shutting down.
      org.apache.activemq.MessageDispatchChannel.isClosed() returns "false" when org.apache.activemq.ActiveMQMessageConsumer is validating the connection.

      I found org.apache.activemq.MessageDispatchChannel.close() is newer called when the broker is stopped. This was working in 5.0.0

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              calan Carel-Andre GĂ„semyr
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: