You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "Sebastian Götz (Jira)" <ji...@apache.org> on 2026/07/16 13:50:00 UTC
[jira] [Created] (ARTEMIS-6157) Allow XML special attributes on
Sebastian Götz created ARTEMIS-6157:
---------------------------------------
Summary: Allow XML special attributes on <acceptor>
Key: ARTEMIS-6157
URL: https://issues.apache.org/jira/browse/ARTEMIS-6157
Project: Artemis
Issue Type: Wish
Components: Configuration
Affects Versions: 2.55.0
Reporter: Sebastian Götz
We would like the {{xInclude}} mechanism to manipulate the ActiveMQ Artemis configuration at runtime. In doing so, we could dynamically and permanently add individual acceptors on demand by afterwards calling reloadConfiguration via JMX.
Our broker.xml therefore looks like this:
{code:java}
<acceptors>
<xi:include href="${xincludePath}/acceptors.xml">
<xi:fallback></xi:fallback>
</xi:include>
<acceptor name="default">tcp://${activemq.remoting.netty.host:localhost}:${activemq.remoting.netty.port:5445}?anycastPrefix=jms.queue.;multicastPrefix=jms.topic.;protocols=CORE;useEpoll=true</acceptor>
</acceptors> {code}
The problem with that is, that xInclude has a feature called [Base URI Fixup|https://www.w3.org/TR/xinclude-11/#base] which must add an xml:base attribute to the inclusion target. Unfortunately the XML schema for the configuration file does not allow the so-called XML special attributes for the transportType.
Therefore, we propose adding the element {{<xsd:attributeGroup ref="xml:specialAttrs"/>}} to the type definition in artemis-configuration.xsd.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org