Skip to content
Discussion options

You must be logged in to vote

Maybe @iancooper has an alternative, but for V10, you must return something; we are expecting that you consume the message. What you could do is create IgnoreRequest and process the message like

public class IgnoreRequest : Event() { ... }

public class IgnoreRequestHandler : RequestHandler<IgnoreRequest>
{
   ....
   public IgnoreRequest Handle(IgnoreRequest request) { return request; }
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by iancooper
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants