Skip to content
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

[ARTEMIS-1724] Create Artemis Openwire client Karaf feature #1922

Closed
wants to merge 1 commit into from

Conversation

johnpoth
Copy link
Member

@johnpoth johnpoth commented Mar 2, 2018

<scope>test</scope>
<exclusions>
<exclusion>
<!--Let's compile against JMS 2-->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment says "JMS 2," but the artifactId references the 1.1 spec. This seems wrong.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jbertram thanks for reviewing!

I'm excluding the JMS 1.1 artifact, so we are compiling against JMS 2 (which is brought on the classpath transitively by artemis-jms-client). It was causing compiling issues because javax.jms.Connection doesn't implement AutoCloseable in JMS 1.1 whereas it does in JMS 2 which makes it possible to use in try-with-resources statements.

Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that. I didn't notice the exclusion. Makes perfect sense.

@asfgit asfgit closed this in a088abf Mar 5, 2018
@johnpoth johnpoth deleted the ARTEMIS-1724 branch March 6, 2018 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants