You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This applies to projects using the Reactor extension only (I think).
If a @CommandHandler method returns a value, any @MessageHandlerInterceptor interceptor methods must also return a value, or that value is lost and null is returned to the message sender.
e.g.
@MessageHandlerInterceptor(messageType =CommandMessage::class)
funhandleTheThing(
cmdMsg:CommandMessage<*>,
chain:InterceptorChain
): Any {
return chain.proceed() // must return or value is lost
}
I discovered this via some trial and error. It might be helpful if the docs also reflected this.