Skip to content

Conversation

sergio-d-lemos
Copy link
Contributor

Centralize settings for DocumentBuilderFactory and TransformerFactory in a single class, so we have a way to apply always the same security settings.

Unfortunately there is no single shared module, so I can't use XmlFactories class in https://github.com/apache/activemq/blob/main/activemq-client/src/main/java/org/apache/activemq/filter/XPathExpression.java

Sanity tested by using the activemq create and by running a broker with the runtimeConfigurationPlugin plugin enabled.

@jbonofre jbonofre self-requested a review October 17, 2025 05:54
Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

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

That's a good idea to "centralize" the configuration of the XML parsing.
Thanks !

@jbonofre jbonofre merged commit 34bf897 into apache:main Oct 17, 2025
1 check passed
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