Properties defined on the ra.xml, are being set on
org.jboss.messaging.ra.JBMResourceAdapter. Which contains the resource-adapter global
config.
Properties defined on the @MDB ActionConfigs, are being set on
org.jboss.messaging.ra.inflow.JBMActivationSpec, which contains the MDB Inbound
configuration.
Properties defined on tx-connection-factory, are being set on
org.jboss.messaging.ra.JBMMCFProperties, which contains the Connection Outbound
configuration.
Currently, the connection is only defined on JBMResourceAdapter. Both the inbound and
outbound are aways getting the connection from this global place on the RA.
My proposal, is to add properties on both the Spec and JBMMCFProperties. If the user
specify any connection property at JBMMCFProperties or JBMResourceAdapter I will ignore
the global-config, giving the user the sensation of overriding the property.
This is actually the same way it is done with other properties such as User, Password and
destination-type. The ra.xml defines the default/global value and that could be changed at
either MDB of tx-connection-factory.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226585#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...