spring - Does spring-jms 5.x require JMS 2.0?
问题描述
I can see in spring-jms.gradle that starting with 5.0.0, the dependency to the JMS API changed from 1.1 to 2.0.
However, my question is: does this mean that spring-jms 5.x actually requires the provider to implement JMS 2.0?
I cannot find a clear requirement for th JMS version in the spring documentation neither in the Javadoc of the main spring-jms classes (like @EnableJms
). For other JEE APIs like servlet-api or JPA, spring documentation/javadocs make this clearer.
Today, I still use spring 4.x and want to upgrade to 5.x, however I use a JMS provider (Oracle AQ) that implements only JMS 1.1. I would like to be sure whether spring-jms may make use of specific JMS 2.0 features like JMSContext
.
解决方案
I believe it's backwards-compatible, so as long as you don't try to use any 2.0 features, you should be ok.
Why don't you just give it a try?
推荐阅读
- html - 如果它出现在父级的末尾,如何隐藏具有特定类的 div?
- typescript - 使用 redux 时我在哪里初始化 props 值,而不会让我的 props 泄漏到 redux 方面
- jasper-reports - iReport - 如何防止 texfield 进入下一页
- javascript - 使用 push 从数组数组中获取值
- python-3.x - 如果 list1 的两个随机元素存在于 list 2 中,会这样吗?
- join - PySpark 动态连接条件
- reactjs - Material UI React-Autosuggest Scrollbar 在选择选项箭头键时不起作用
- c# - 处理 Akka.NET Actor 响应来自流的异步请求时引发的异常
- javascript - 如何在 javascript 中将授权标头传递给 WCF 服务?
- reactjs - SyntaxError: 意外的标识符 {import React from 'react';