activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: AMQ-1703 - Create lightweight ActiveMQ client jar
Date Fri, 08 Jun 2012 13:59:40 GMT
What would be cool is if we can use the proguard-maven-plugin to byte
code analyze the absolute minium client jar that is needed.

We could also shave off lots of bytes if we drop support for older broker
version from the client jar.  Right now a client includes something like 9
versions of openwire codecs for all so that it can connect to older broker
versions.  I could see this being desirable, but if your only interested in
connecting against the latest version of the broker it's allot of un-needed
space in the jar file.

BTW.. having a jar like this would also be handy for Apollo since it also
supports open wire and it would be nice to give the clients a slimmer jar
option.

On Fri, Jun 8, 2012 at 8:43 AM, Greg Thomas <greg.d.thomas@gmail.com> wrote:

> Some time ago a patch was submitted to create a "lightweight" set of
> dependencies for people who are just writing a simple client -
> https://issues.apache.org/jira/browse/AMQ-1703
>
> This was also discussed at
>
> http://activemq.2283324.n4.nabble.com/ActiveMQ-client-without-Spring-td3178034.html
>
> By my reckoning, the current list of exclusions for 5.6.0 is currently
> as follows below. Is this right - have I excluded too much, or missed
> something?
>
> If that's right, what are the chances of getting the patch updated and
> included in the next release?
>
> Thanks,
>
> Greg
>                <dependency>
>                        <groupId>org.apache.activemq</groupId>
>                        <artifactId>activemq-core</artifactId>
>                        <version>5.6.0</version>
>                        <!-- Exclude the non-client JAR files -->
>                        <exclusions>
>                                <exclusion>
>
>  <groupId>org.springframework</groupId>
>
>  <artifactId>spring-context</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>org.apache.activemq</groupId>
>
>  <artifactId>activeio-core</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>org.apache.activemq</groupId>
>                                        <artifactId>kahadb</artifactId>
>                                </exclusion>
>                                <exclusion>
>                                        <groupId>org.jasypt</groupId>
>                                        <artifactId>jasypt</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>org.apache.activemq.protobuf</groupId>
>
>  <artifactId>activemq-protobuf</artifactId>
>                                </exclusion>
>                                <exclusion>
>                                        <groupId>commons-net</groupId>
>                                        <artifactId>commons-net</artifactId>
>                                </exclusion>
>                                <exclusion>
>                                        <groupId>org.osgi</groupId>
>
>  <artifactId>org.osgi.core</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>org.springframework</groupId>
>
>  <artifactId>spring-context</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>org.fusesource.mqtt-client</groupId>
>                                        <artifactId>mqtt-client</artifactId>
>                                </exclusion>
>                                <exclusion>
>
>  <groupId>org.fusesource.fuse-extra</groupId>
>
>  <artifactId>fusemq-leveldb</artifactId>
>                                </exclusion>
>                        </exclusions>
>                </dependency>
>



-- 

**

*Hiram Chirino*

*Software Fellow | FuseSource Corp.*

*chirino@fusesource.com | fusesource.com*

*skype: hiramchirino | twitter: @hiramchirino<http://twitter.com/hiramchirino>
*

*blog: Hiram Chirino's Bit Mojo <http://hiramchirino.com/blog/>*

*
*

*
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message