c# - Resubmit event to rebus -



c# - Resubmit event to rebus -

after handeling message, need send new message. it's command event pattern, handled command, , need submit event (to same bus).

is bus context message came available in handler? if not how suggest find right bus?

i'm not sure understand you're trying achieve, sounds me implementing referred request/reply? in case it's easy, because handler can this:

public class somerequesthandler { readonly ibus bus; public somerequesthandler(ibus bus) { this.bus = bus; } public void handle(somerequest request) { bus.reply(new somereply(...)); } }

sent messages automatically furnished rebus-return-address header handler of message utilize destination when bus.reply.

c# rebus

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -