Closed
Description
Affects: 6.0.4
I have a simple STOMP application using the simple broker, containing a controller with two methods. One is annotated with @MessageMapping
, and one is annotated with @SubscribeMapping
.
When compiled as a native image, the subscribe mapping is not called when a client subscribes, and the debug log reports "No matching message handler methods".
I see that #28754 added MessageMappingReflectiveProcessor
for @MessageMapping
, but there do not appear to be similar changes for the @SubscribeMapping
annotation.
It looks as the lack of runtime hints may also affect the @MessageExceptionHandler
annotation.
Metadata
Metadata
Assignees
Labels
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]@SubscribeMapping method not called when built as native image[/-][+]`@SubscribeMapping` method not called when built as native image[/+]Add native support for @SubscribeMapping and @MessageExceptionHandler
Javadoc-only reference to SubscribeMapping from simp package (-> pack…