Would it be possible to add support for telling Spring to ignore a parameter? We have our own Context class that we inject via a custom HandlerMethodArgumentResolver. We usually like to have this as the first parameter. But when we do so, MessagingMessageListenerAdapter incorrectly interprets this as the event payload type.
Some options:
- Allow us to configure a list of classes to ignore.
- Automatically ignore any class that can be resolved via a
HandlerMethodArgumentResolver.