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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -