On Fri, Apr 23, 2010 at 04:14:14PM -0700, Mark Diggory wrote: > On Fri, Apr 23, 2010 at 1:24 PM, Mark H. Wood <[email protected]> wrote: > > On Fri, Apr 23, 2010 at 12:16:35PM -0700, Mark Diggory wrote: > >> Yep, exactly the reason to use a common repository.... I do have a copy of > >> that floating around my workstation, but I will warn you it is very broken, > >> I'll see if I can recovery it for you. > > > > Thank you! Broken I can fix, but missing would have meant I have to > > learn both ends of JMS from scratch at once, using the rather murky JMS > > and ActiveMQ documentation. > > I worry that this will be misleading, let me tell you where the work > left off. We extracted this from the Event System because of how > closely tied it was to replacing the event manager and dispatchers. > Likewise, how closely it was tied to JMS. the Event System then > evolved separately to be available for DSpace 1.5. So your going to > have to be doing two things. (1) figuring out what is happening in the > code and (2) correcting it to work with the Event System. > > Where we left off with development was in dropping the use of a > customized Dispatcher/EventManager just for Asynchronous eventing. > And instead looking to move any ties to JMS into the Consumer so that > there was less being replaced in the EventManager/Dispatcher.
So instead of having sync. and async. Dispatchers, there's probably just one Dispatcher. And we have a Consumer that's just a thin adapter between the DSpace event system and JMS. The characteristics of "JMSConsumer" event channels are part of configuring your site's JMS implementation and nothing to do with DSpace. As far as DSpace knows, when consume() returns the Event has been delivered, and we trust JMS (suitably configured) not to fumble it. Sensible. OK, I can deal with that. And I'm to the point where I need to see what is inside the messages so I can flesh out the // TODO actually handle this Event step. :-) -- Mark H. Wood, Lead System Programmer [email protected] Balance your desire for bells and whistles with the reality that only a little more than 2 percent of world population has broadband. -- Ledford and Tyler, _Google Analytics 2.0_
pgpZBBMXoiW2K.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
