You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Tuve Nordius (Jira)" <ji...@apache.org> on 2021/02/24 09:06:00 UTC

[jira] [Created] (ARTEMIS-3139) Anonymous types in artemis-configuration.xsd

Tuve Nordius created ARTEMIS-3139:
-------------------------------------

             Summary: Anonymous types in artemis-configuration.xsd
                 Key: ARTEMIS-3139
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3139
             Project: ActiveMQ Artemis
          Issue Type: Improvement
            Reporter: Tuve Nordius


The artemis-configuration.xsd has a lot of anonymous types which makes it hard to create a modulirized configuration. If I want to have diverts in a seperate file I can do that but I cant get any validation/ help for any editor. 

example:

I can do in an included file diverts.xml something like 
{code:java}
<diverts xmlns="urn:activemq:core">{code}
I would like to do like bellow, but I can't since divertsType does not exist other as an inline anonymous type.

 
{code:java}
<diverts xmlns="urn:activemq:core"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="urn:activemq:core /schema/artemis-configuration.xsd"
         xsi:type="divertsType" >
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)