Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1672

Adding Event interface and isLocal()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5
    • None

    Description

      when a repository cluster is used, it seems that a common problem many people have is to detect if an observation event is send because of changes on the local instance or a remote instance of the cluster.

      This is especially important if you want to do post processing of data
      based on observation (the post processing should only be done by one instance in the cluster).

      A current solution is to cast the jcr event object to the EventImpl of jackrabbit core which is obviously not a nice solution

      So what about adding an event interface to jackrabbit api which extends the jcr event interface and adds the isLocal() method?

      Attachments

        1. localeventlistener.patch
          6 kB
          Carsten Ziegeler
        2. jackrabbit.patch
          3 kB
          Carsten Ziegeler

        Activity

          People

            Unassigned Unassigned
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: