You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Michael Andre Pearce (JIRA)" <ji...@apache.org> on 2017/05/15 21:44:04 UTC

[jira] [Commented] (ARTEMIS-1129) Client Dependencies

    [ https://issues.apache.org/jira/browse/ARTEMIS-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011386#comment-16011386 ] 

Michael Andre Pearce commented on ARTEMIS-1129:
-----------------------------------------------

I think here a good solution would be try produce a shaded client e.g. activemq-jms-client-all.jar similar to netty-all.jar that is used in artemis so that as an end user they have a nice single dependency to use. 

To make this clean and to avoid package/dependency conflict issues, external dependencies on shading should be re-packaged. 

i believe the maven shade plugin helps handle all this.

> Client Dependencies 
> --------------------
>
>                 Key: ARTEMIS-1129
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1129
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.0.0
>            Reporter: Bernd Rosstauscher
>            Assignee: Justin Bertram
>            Priority: Minor
>              Labels: documentation
>
> Currently the documentation is not up to date for the client requirements.
> Section 12. The Client Classpath specifies only the following 
> activemq-core-client.jar, activemq-commons.jar, and netty.jar
> And for JMS the following:
> activemq-jms-client.jar and geronimo-jms_2.0_spec.jar
> If I copy these to my project and try to connect directly via JMS (not via JNDI) I get at runtime ClassNotFoundExceptions of all kind.
> It seems now you need a lot more JAR files as dependencies. It is not really clear what else is needed so you will end up to copy the whole Artemis Jars just to make the client connection work.
> Would it be possible to update the documentation to specify the direct and indirect dependencies for the client. 
> I have the feeling this is at the moment a little bit out of control as it seems I need now to include 10 more Jar files or so including the json libraries, org.jboss logging, all the commons jars and many more?
> Thanks for your great work.
> - Bernd Rosstauscher



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)