[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Configuration layout

jmesnil do-not-reply at jboss.com
Fri Apr 24 04:41:00 EDT 2009


Our current configuration layout is messy and spread in many places (AS/config, src/config) and is confusing (JMS tests is hard-coded with the bean config from AS/config and the server configuration from src/config)

We need to clean this up and make it simple.

the proposal is to reorganize our configs:

src/config/non-clustered -> beans and configuration for (non-clustered) standalone
src/config/clustered        -> beans and configuration for clustered standalone
src/config/jbossas/non-clustered/ -> beans for (non-clustered) AS 5 integration
src/config/jbossas/clustered        -> beans for clustered AS 5 integration

Each of this 4 dirs would contain a full configuration (-beans, jbm-configuration, jbm-jms, jbm-queues, etc.)

There would be 2 profiles created for JBoss AS 5:
jbm2_default taking the conf from jbossas/non-clustered
jbm2_clustered taking the conf from jbossas/clustered

The jms tests should be refactored to use src/config/non-clustered config (there are tests
depending on JBoss Security manager which needs to be refactored for that)

Ideally, integration tests should not depend on a given configuration: it's part of the test setup to configure the server with the configuration suited from the tests.

This layout change will impact the creation of AS 5 profiles and the Java EE examples (esp. the clustered one).
If you see a problem with this new layout, speak up now :)


wdyt? 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226540#4226540

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226540



More information about the jboss-dev-forums mailing list