What is the difference between Consumes.For, Consumes.Selected, Consumes.All and Consumes.Context in MassTransit? -


i've started looking @ masstransit , writing classes handle messages. when implement interface consumes<t> 4 options: all, selected, for<t> , context. difference between 4 , when should them used?

all gives messages consume. context context<tmessage> if need it. selected allows accept or reject messages before gets consumer. for<t> sagas, don't think there's use case outside of that.

starting off, using all right answer.


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -