@SubscribeMapping
method not called when built as native image
#30002
Labels
in: messaging
Issues in messaging modules (jms, messaging)
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
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.The text was updated successfully, but these errors were encountered: