Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARTEMIS-5141 Add or remove plugins on configuration reload #5333

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AntonRoskvist
Copy link
Contributor

No description provided.

Copy link
Member

@brusdev brusdev left a comment

Choose a reason for hiding this comment

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

The method registered of the reloaded broker plugins is not invoked.

The existing broker plugins in the config are unregistered and registered on the config reload. Is that on purpose?

@AntonRoskvist
Copy link
Contributor Author

The method registered of the reloaded broker plugins is not invoked.

The existing broker plugins in the config are unregistered and registered on the config reload. Is that on purpose?

That is not intentional, thanks for catching that @brusdev

Copy link
Member

@brusdev brusdev left a comment

Choose a reason for hiding this comment

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

The existing broker plugins in the config are unregistered and registered each time the the config is reloaded. This could be a breaking change because the current version only load broker plugins at startup.

You can check this behavior adding the same plugin to both reload-plugin.xml and reload-plugin-updated.xml files, i.e. brusdev@3115925

@AntonRoskvist
Copy link
Contributor Author

Yes I see it, I'll have to take a closer look at this. Thanks @brusdev

@AntonRoskvist AntonRoskvist marked this pull request as draft November 22, 2024 15:11
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.

2 participants