[
https://issues.apache.org/jira/browse/ARTEMIS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15264341#comment-15264341
]
Jonathan S. Fisher commented on ARTEMIS-245:
--------------------------------------------
I'm fairly certain from the discussions last year, it's because
ActiveMQRASession is a concrete final class with no interface, and it allows
TomEE to cleanup resources that might be held by the developer.
I'm trying a much more brutal method, which is to make ActiveMQRASession an
interface, have a ActiveMQRASessionDefault concrete implementation. The
consequence of this is you can't have protected methods on an interface, so
things like _lock()_ and _unlock()_ will have to be public methods.
> Change resource adapter to work with Tomee
> ------------------------------------------
>
> Key: ARTEMIS-245
> URL: https://issues.apache.org/jira/browse/ARTEMIS-245
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 1.0.0, 1.1.0, 1.2.0
> Reporter: clebert suconic
> Fix For: 1.3.0
>
> Attachments: patch.txt
>
>
> It seems that Tomee requires a JMS interface to be returned. We should try
> changing the RA to be compatible with it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)