Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9193

Add event filtering to async listeners that are too general

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: Core
    • Impact type:
      API added
    • Upgrade notes:
      Hide

      PostCommitFilteringEventListener is a new sub-interface of PostCommitEventListener that can be used.
      It defines a method acceptEvent that can be used to decide at event time (synchronously) whether this listener is worth calling with this event.

      Show
      PostCommitFilteringEventListener is a new sub-interface of PostCommitEventListener that can be used. It defines a method acceptEvent that can be used to decide at event time (synchronously) whether this listener is worth calling with this event.

      Description

      Some async event listeners don't do any event filtering:

      • bulkLifeCycleChangeListener
      • sql-storage-binary-text
      • opchainpclistener
      • auditLoggerListener
      • docRemovedCommentListener
      • mailReceivedListener
      • notificationListener
      • unicityListener
      • JmsEventForwarder
      • activityStreamListener
      • ScanImportTrigger
      • replicationImportListener

      Most of them could declare event filters.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: