i have to compose 2 processors as following :
processor 1implement theitemProcessorInterface withitemProcessor<A,B>(transforming data).processor 2implement theitemProcessorInterface withitemProcessor<B,B>.(treat transformed data).
the CompositeItemProcessor<I, O> requires the delegates to be in the same type , moreover when passing it to the Step the step is already configure with fixed types <A,B>.
how i could chain these processors with different types and assign it to the step processor ?