Update 32.4. Mixing XA and non-XA JMS connections.md

master
qibaoguang 2015-02-27 21:10:49 +08:00
parent 5b3186903d
commit 317f80dcf0
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
如果想使用一个non-XA的ConnectionFactory你可以注入nonXaJmsConnectionFactory bean而不是@Primary jmsConnectionFactory bean。为了保持一致jmsConnectionFactory bean将以别名xaJmsConnectionFactor来被使用。
示例如下:
```
```java
// Inject the primary (XA aware) ConnectionFactory
@Autowired
private ConnectionFactory defaultConnectionFactory;