I wanted to start this thread to bring together a number of JIRAs and to clarify with how
we're planning to proceed with managing Connection Factory's in Embedded Jopr and
JON.
First here are the jiras which seem to touch on this topic:
https://jira.jboss.org/jira/browse/JOPR-108 Add support for local-tx connection factories
https://jira.jboss.org/jira/browse/JBAS-6647 "XAConnectionFactoryTemplate" and
possibly other templates are missing from ManagementView
The path of least resistance seems to be for there to be two connection factory related
management components:
@ManagementComponent(type="ConnectionFactory",subtype="Tx") *Note
the change from subtype="XA" today*
@ManagementComponent(type="ConnectionFactory",subtype="NoTx")
Where the "Tx" component would represent both local-tx and XA connection
factories. The Tx component can have boolean config property for whether this is an XA
connection factory. This approach also matches how the existing connection factory
descriptors are laid out.
It also means we don't need any new templates since the ones we have should be
sufficient:
ManagementView.getTemplateNames() returns the following Strings:
[TxConnectionFactoryTemplate, NoTxConnectionFactoryTemplate, ...]
Unless we hear otherwise we'll push ahead with this approach on our side and I'll
raise a jira for changing the subtype from XA to Tx in...
https://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_x/connector/src...
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220681#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...