Skip to content

[AMQ-9430] RuntimeConfigPlugin wire in classloader to JAXBContext#1204

Merged
cshannon merged 1 commit into
apache:mainfrom
mattrpav:AMQ-9430
Apr 11, 2024
Merged

[AMQ-9430] RuntimeConfigPlugin wire in classloader to JAXBContext#1204
cshannon merged 1 commit into
apache:mainfrom
mattrpav:AMQ-9430

Conversation

@mattrpav

Copy link
Copy Markdown
Contributor

No description provided.

@jbonofre jbonofre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I just tested and it works fine on JMX MBean. Thanks !

@mattrpav

mattrpav commented Apr 11, 2024

Copy link
Copy Markdown
Contributor Author

I confirmed testing this locally using jconsole

 INFO | Manual configuration update triggered
 INFO | No material change to configuration in class path resource [activemq.xml] at: Thu Apr 11 09:31:19 CDT 2024

Background: The issue is activemq distribution uses a different classloader to bootstrap. There is a unit test for jmx invocation, but it is not like-for-like b/c of the runtime differences between the unit test and the apache activemq dist.

This fix should work for all dists, including embedded and osgi (karaf, etc)

@cshannon cshannon merged commit f6d067a into apache:main Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants