[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - XML configuration changes
jmesnil
do-not-reply at jboss.com
Thu Apr 16 05:28:39 EDT 2009
I've fixed https://jira.jboss.org/jira/browse/JBMESSAGING-1596 in the trunk.
The intent was to simplify our XML configuration files.
We have a lot of unrelated properties (e.g. address settings, cf settings, etc.) which needed to be in a given order to be valid (e.g. "foo" must be before "bar", etc.)
This would make it very difficult for our users to configure JBM: they'd have to look at the XSD schema to know how to order the XML elements... not very user-friendly (XSD errors are cryptic) and plain ugly!
Now, our configuration files are "bags" of XML elements, they can be in any order.
However, there were a few structure changes to allow that: elements which could appear multiple times must now be inside a container XML element.
For example, all the "connector" definitions must be in a "connectors" elements. The same goes for "acceptor", "broadcast-group", "discovery-group", "bridge", "queue", "divert", "cluster-connection" in jbm-configuration.xml.
Similarly, the "entry" elements of jbm-jms.xml's "connection-factory" must be put inside a "entries" container.
I've updated all the source configuration files we have (src + tests + examples).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225845#4225845
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225845
More information about the jboss-dev-forums
mailing list