Update 32.4. Mixing XA and non-XA JMS connections.md
parent
5b3186903d
commit
317f80dcf0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue