English 中文(简体)
glassfish v3 asadmin how to specify XA on connection factory
原标题:

This worked in 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

But the SupportsXA=true no longer works. Maybe I can t find it in the GFV3 manuals, nor can I find it via our friend Google: how to specify XA transactionality using asadmin to configure the factory? Anybody out there know how?

问题回答

--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.





相关问题
How to optimize activemq

I m using ActiveMQ on a simulation of overloading servers in Java. And mainly it goes ok, but when I get over 600 requests the thing just go WTF! I think the bottleneck is my Master Server which is ...

Does Pentaho Kettle have a way to accept JMS messages?

Does Pentaho s ETL system, Kettle (http://kettle.pentaho.org/) have a plugin to accept information from JMS messages? I d like to set up a job that can read messages each containing a hash, extract ...

post message to a remote JMS provider

I want to be able to send messages to a remote JBoss server (JBoss MQ). I can do it for a local one but i m stuck when trying with a remote one. can anyone explain to me how to do it ? are there any ...

PostgreSQL and JMS (Or other Pub-Sub/Callback Mechanism)

I want to have my PostgreSQL server send out notifications when a piece of data changes, preferably over JMS, but also considering any other Pub-Sub mechanism or Callback. Any ideas if this is ...

ActiveMQ Consumer / Producer Connection Listener

I can t seem to find a way to listen for new producer and consumer connections (or connection interrupts) in ActiveMQ (Java Version). I want to be able to tell the consumers (or they can find out ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

热门标签