Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-343

Check for reentry in an AyncHandler

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.1.20.Final, 3.0.3.Final
    • None
    • None
    • None

      It's possible that an AsyncHandler could have a re-submitted to it if one of it's child handlers produces a log. This causes the queue to potentially fill up. We should check if a record comes from a the worker thread and take action on the record. The options seem to be:

      1. Ignore the record
      2. Pass the record through publishToNestedHandlers(). Note that this approach will block an AsyncHandler so this might not be ideal. However, it allows the subhandler to take action on the record.

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: