Blog: James Taylor« Repositories, processes, decisions and more | Main | First Look - Drools 5.0 » Decision Services, Decision Agents and Event ProcessingCopyright © 2008 James Taylor. Visit the original article at Decision Services, Decision Agents and Event Processing.I have been doing some presenting on decision services recently - to SAI in Belgium and at the SOA Symposium - and my old friend Paul Vincent posted about a discussion he and I have been having about the relevance of decision services in an event-driven architecture or Complex Event Processing scenario. Paul makes the point that reusing decision services, required for processes or some other element of your architecture, makes perfect sense. However he also notes that
I don’t particularly disagree with this. I think that rules and decision-making that are “closely related” to the event processing probably should be part of a “decision agent” that, as Paul goes on to say:
My rule of thumb for decision services and event processing is similar to the one I have for processes and decisions. If the decision or the rules relates to the process/events and is tightly coupled to them (it will change if they do and vice versa) then it is part of the process/event processing environment. If, on the other hand, the decision would remain the same if the process or events involved were completely altered, then it is a decision that should be managed explicitly. For instance:
Don’t embed business decisions in anything too tightly coupled to events or processes if you can avoid it - manage them as the corporate assets they are. BTW I have blogged a little about this on my ebizQ blog - here for instance - and I suspect this debate will run and run. |