-
Notifications
You must be signed in to change notification settings - Fork 41.2k
ActiveMQ Artemis Connection Factory creation fails in native image #42414
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I think we either need a hint or we need to change |
We can (and will) fix the problem caused by Boot's use of reflection, but please note that you'll then hit a problem within Artemis' code and its use of bean utils:
This will have to be addressed in one of Artemis, some reachability metadata, or some reflection hints of your own. |
This seems to be the first issue on Google when searching for Artemis, Spring and native-image so I'll just leave a comment that I have updated to latest snapshot of spring-boot 3.4, generated metadata for artemis using native agent and the application now works as expected. The changes were added as a separate commit in the repo provided in the original comment. Thanks for the prompt fix from spring boot side. |
See reproducer: https://github.com/krezovic/artemis-native-demo
Results in
Short guess, reflection hints are missing for factory creation.
The text was updated successfully, but these errors were encountered: