On 17/06/11 05:59, Chris Wilper wrote: >> On 16/06/2011, at 23.26, Benjamin Armintor wrote: >> I think moving FieldSearch, ResourceIndex, and GSearch (among unknown >> others) out of core and into a queue of indexing services is an >> admirable development goal. > Since GSearch is notified via JMS of Fedora updates, I would consider > it architecturally "ahead of" where we're currently at with the > Resource Index (ignoring FieldSearch for now). My question is, is a > JMS queue the common integration technology that all such external > services should be hooked up to in order to integrate? And can they > call depend on the same kinds of messages? (a message-per method model > as exists today, or a more object-change-oriented model as I think was > suggested by Steve at last week's meeting).
In a project I'm working on we have built a mechanism to keep external systems up to date with the state of the Fedora repository; using a similar technique to GSearch (i.e. a JMS listener). It seems rather apropos of this discussion. The difference between GSearch and our system, it seems to me, is that we have decoupled the JMS client from the indexing (or other!) operation. Our JMS listener simply passes the update messages on to another application. Our FedoraUpdateHandler listens for "fedora.apim.update" events, and it executes an external process to handle each event, feeding the Atom message to the process's standard input stream. In our case the external processes are XProc pipelines but they could be anything really, and they can do more than indexing. We use them to crosswalk one metadata stream to another, as well as to update Solr and jOAI. See http://ands-la-trobe.googlecode.com/svn/trunk/fedora-update-handler/index.html for the current version (still under development, but works). Conal -- Conal Tuohy eResearch Business Analyst Victorian eResearch Strategic Initiative +61-466324297 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
