Discussed in #1204
Originally posted by piotrooo November 1, 2025
I'd like to ask about the rationale for using spring-messaging in spring-shell. The only reason I can see is to reuse Message and HandlerMethodArgumentResolver as some kind of generic holder (?) for multiple purposes.
Is that really the best approach? It feels a bit bizarre.
Maybe a spring-shell specific HandlerMethodArgumentResolver should be introduced, and the dependency on spring-messaging could be dropped?
Discussed in #1204
Originally posted by piotrooo November 1, 2025
I'd like to ask about the rationale for using
spring-messaginginspring-shell. The only reason I can see is to reuseMessageandHandlerMethodArgumentResolveras some kind of generic holder (?) for multiple purposes.Is that really the best approach? It feels a bit bizarre.
Maybe a
spring-shellspecificHandlerMethodArgumentResolvershould be introduced, and the dependency onspring-messagingcould be dropped?