samedi 21 février 2015

Pattern for Filtering and Enriching objects

I have this problem about receiving a Input object this object behavior like a List.


I want to process this object through a FilterObject and generate ProcessedFilterObject after that I will send the same object to a kind of EnricherObject that will return some kind of ProcessedEnrichedObject with possible errors and so on.


This problem is very similar to some Enterprise Integration Patterns I know but right now I can't remember if there's a elegant OO pattern which would solve the problem. Does anyone know a elegant and extensible solution? (I want to be able to add other transformers, filter or enrichers later).


Aucun commentaire:

Enregistrer un commentaire