[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBM remoting configuration

timfox do-not-reply at jboss.com
Tue Aug 26 07:54:02 EDT 2008


As discussed I would like to make changes to our remoting layer, to generalise the way our transports are configured and to allow a non fixed of transport types.

Currently all our transports are configured via hard coded properties in the Configuration and ConnectionParams classes, which all transports use to get their config.

Instead I propose each acceptor config on the server side can be configured with a typed map of properties that can be used by the specific transport.

On the client side, the ClientSessionFactory will take a String transport identifier, and an optional map of properties.

The mapping between String identifier and ConnectorFactory is specified in jbm-connector-factories.properties, which can be overridden on the classpath.

This means we can get rid of TransportType enum, since the mapping between name and factory is no longer hardcoded - this makes things more flexible.

We can also get rid of Location and ConnectionParams - and remove several attributes from configuration.

Any comments?

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

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



More information about the jboss-dev-forums mailing list