public class NarayanaXAConnectionFactoryWrapper extends Object implements XAConnectionFactoryWrapper
Constructor and Description |
---|
NarayanaXAConnectionFactoryWrapper(TransactionManager transactionManager,
NarayanaRecoveryManagerBean recoveryManager,
NarayanaProperties properties)
Create a new
NarayanaXAConnectionFactoryWrapper instance. |
Modifier and Type | Method and Description |
---|---|
javax.jms.ConnectionFactory |
wrapConnectionFactory(javax.jms.XAConnectionFactory xaConnectionFactory)
Wrap the specific
XAConnectionFactory and enroll it with a JTA
TransactionManager . |
public NarayanaXAConnectionFactoryWrapper(TransactionManager transactionManager, NarayanaRecoveryManagerBean recoveryManager, NarayanaProperties properties)
NarayanaXAConnectionFactoryWrapper
instance.transactionManager
- the underlying transaction managerrecoveryManager
- the underlying recovery managerproperties
- the Narayana propertiespublic javax.jms.ConnectionFactory wrapConnectionFactory(javax.jms.XAConnectionFactory xaConnectionFactory)
XAConnectionFactoryWrapper
XAConnectionFactory
and enroll it with a JTA
TransactionManager
.wrapConnectionFactory
in interface XAConnectionFactoryWrapper
xaConnectionFactory
- the connection factory to wrapCopyright © 2019 Pivotal Software, Inc.. All rights reserved.