Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7171

Messages are stuck on Paging with transactional consumers, and multiple consumers.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.2
    • EAP_EWP 5.1.1
    • HornetQ
    • None
    • Hide

      Run attached example

      Show
      Run attached example
    • Hide
      In a rare condition, with small page sizes, the system could get out of the sync with the queue size due to re-loading the message with a smaller buffer size than when it was originally created.

      As a result the system would freeze depaging.
      Show
      In a rare condition, with small page sizes, the system could get out of the sync with the queue size due to re-loading the message with a smaller buffer size than when it was originally created. As a result the system would freeze depaging.
    • Not Required
    • NEW

    Description

      Here's what happens:

      JMX reports that a given queue has messages in it, but attempts to call
      consumer.receive return no messages. When the failure condition begins,
      calling consumer.receive may return a few messages, but less than it should.
      This behavior occurs regardless of whether we include a timeout on
      consumer.receive. My test class tends to reproduce this problem with a clean
      data directory in under 5 minutes. Once the problem has been produced, it
      tends to happen faster on subsequent runs.

      I am not enough of an expert in HornetQ to determine where the root cause of
      the problem is, or even if I am abusing HornetQ in some way that could be
      easily remedied to work around this issue. I have extracted an integration test
      from my larger spring based project into the jms/transactional example that
      is packaged as part of the base distribution.

      Attachments

        Activity

          People

            csuconic@redhat.com Clebert Suconic
            cschellenger_jira Chad Schellenger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: