1

这在 GFV2 中有效:

$AS_HOME/bin/asadmin \ --host $AS_ADMIN_HOST \ --user $AS_ADMIN_USER \ --port $AS_ADMIN_PORT \ create-jms-resource \ --restype javax.jms.QueueConnectionFactory \ --description XA\ Queue\ Connection\ Factory \ --property Name=myXAQueueConnectionFactory:SupportsXA=true \jms/myXAQueueConnectionFactory

但是 SupportsXA=true 不再有效。也许我在GFV3手册中找不到,也找不到通过我们的朋友谷歌:how to specify XA transactionality using asadmin to configure the factory?有人知道怎么做吗?

4

1 回答 1

1

--property ...:transaction-support=XATransaction:...

This seems to be what I needed. Works. Did not find by search of documentation or by Google. Deduced it by looking at the domain.xml file and taking educated guess at syntax.

Am now trying to figure out what property name/value pair sets the connection-validation property the way I want it.

Question has morphed to: what's the full asadmin syntax and property setting for GFV3 connection factories.

于 2011-01-04T18:54:00.743 回答