-
Notifications
You must be signed in to change notification settings - Fork 139
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
Support JMS 2 #122
Comments
JMS 2.0 is on the backlog, probably for release 6.0 but with no concrete release date yet. Strange that the commit ordering does not work. Are you doing transactions across REST calls? |
No rest calls involved. |
I just noticed in one location the wrong connection factory is injected. |
Fixing the configuration did solve my problem! |
Note that it would be a nice feature if Atomikos could do this out of the box. |
Thanks for the feedback! What / how exactly do you think we could analyse the resource and determine the commit order? |
I don't think there is a perfect solution, for that the xa spec for java would have to be revised and xa providers might have to implement extra code to enable some kind of weight assignment to the xa resource. |
Perhaps an another idea, not sure if possible is to have classes like AtomikosConnectionFactoryBean and AtomikosDataSourceBean |
Thanks - if we were to add weights then it would not need XA extensions, we could do everything in our core, in a similar way as you suggest. This could be something to consider, but only as part of a 6.0 release since it would impact the core of our commit processing. |
That would be a nice improvement! |
I wanted to try the new jms 2 feature for setting the delivery delay in the message producer but atomikos does not support this.
This is the error message I received:
java.lang.AbstractMethodError: Receiver class com.atomikos.jms.internal.AtomikosJmsMessageProducerWrapper does not define or inherit an implementation of the resolved method 'abstract void setDeliveryDelay(long)' of interface javax.jms.MessageProducer.
I'm having issues with what I though was commit ordering.
So I implemented the suggestion https://www.atomikos.com/Documentation/CommitOrderingWithJms
However it doesn't solve the issue.
When receiving the message the changes made in the db in a previous listener are not visible yet and causes issue.
So I wanted to test adding a delivery delay to see if it solve this issue but jms 2.0 is not supported.
Is there any plans to support jms 2? Is this on the roadmap for the product?
The text was updated successfully, but these errors were encountered: