vendredi 17 août 2018

Best design pattern for executing sequence of steps

I have 2 individual code components like zipping and encryption, based on given sequence order they should call one after one.

Example: If I give sequence as {encryption, zipping}, 1st encryption 
code should call after that zipping code should start by taking 
encryption step output as input. 

I looked at Spring Integration pattern, but I think it will work for a predefined sequence of steps, not for a dynamic sequence of steps.

Is there a Design pattern which supports my problem? If yes kindly reply me.

Aucun commentaire:

Enregistrer un commentaire