Package org.springframework.boot.jms
Interface XAConnectionFactoryWrapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface used to wrap a JMS
XAConnectionFactory
enrolling it with a
JTA TransactionManager
.- Since:
- 2.0.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionwrapConnectionFactory
(XAConnectionFactory connectionFactory) Wrap the specificXAConnectionFactory
and enroll it with a JTATransactionManager
.
-
Method Details
-
wrapConnectionFactory
Wrap the specificXAConnectionFactory
and enroll it with a JTATransactionManager
.- Parameters:
connectionFactory
- the connection factory to wrap- Returns:
- the wrapped connection factory
- Throws:
Exception
- if the connection factory cannot be wrapped
-