-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Milestone
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
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Type
Projects
Relationships
Development
Select code repository
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…