-
Notifications
You must be signed in to change notification settings - Fork 41k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActiveMQ pooling option is not JMS 2.0 compliant #13927
Comments
Thanks for the report.
Having said that, that makes an argument for stopping the integration with that library and use this project instead. |
I have no real expectations, it's just that in the spring boot docs it's suggested that you can add So using the deliveryDelay property from Stopping the integration with the library would indeed be less confusing. |
Given that we now support Artemis as well (#13523) with the same implementation, I am tempted to document the limitation in |
In the meantime, that library has removed options that we're using in |
Spring boot version: 2.0.3.RELEASE
In this version of spring boot the following dependencies with versions are defined:
javax.jms:javax.jms-api:2.0.1
org.apache.activemq:activemq-pool:5.15.4
org.apache.activemq:activemq-jms-pool:5.15.4
However, this version of activemq-jms-pool is not fully compatible with the javax.jms-api version.
For example the activemq-jms-pool class org.apache.activemq.jms.pool.PooledProducer does not implement all methods from the stated version of the javax.jms-api interface javax.jms.MessageProducer
So when you create a spring boot project with dependencies:
org.springframework.boot:spring-boot-starter-activemq
org.apache.activemq:activemq-pool
and then you create a JmsTemplate with the deliveryDelay field, it will give the following exception upon sending a message to the queue:
I can give more information if it's required
The text was updated successfully, but these errors were encountered: