Daniel Fagerstrom napisaƂ(a):
 I see two possible solutions:
1. Pulling up the service caller to the pipeline level, it would mean introducing some new sitemap syntax/element. I'm not happy with this one so I'm not going to discuss details. 2. Introducing new interface like CacheableKeyAwareProcessingComponent that could have these methods:

Serializable getKey();
SourceValidity getValidity(Serializable aggregatedKeys);

It could be very easy to change pipeline code to make them use new interface if component really implements it. One could say that it's kind of hack, but I have no better option now.
I agree with your analysis and also think that alternative 2 is the way to go.


Thanks. I'll give the others some time to comment on this before implementing anything.

--
Grzegorz Kossakowski

Reply via email to