Relative Content

Tag Archive for patterns-and-practices

Strategy vs Publiser-subscriber pattern

Let’s say I have a channel endpoint where I receive messages. Because I want to process messages in a different way depending on its Header property, rather than create a massive switch I create different strategies with the contract:

Strategy vs Publiser-subscriber pattern

Let’s say I have a channel endpoint where I receive messages. Because I want to process messages in a different way depending on its Header property, rather than create a massive switch I create different strategies with the contract:

Strategy vs Publiser-subscriber pattern

Let’s say I have a channel endpoint where I receive messages. Because I want to process messages in a different way depending on its Header property, rather than create a massive switch I create different strategies with the contract: