Afraid there is no official list but most of the compilation deps on activemq-core are broker side so they can be safely excluded for a simple tcp client.
There is an open jira issue to build a client only jar that needs some work, it tries to strip out the broker classes from the activemq-core jar to reduce it size but it has not seen much attention. https://issues.apache.org/jira/browse/AMQ-1703 eg: <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>5.4.2</version> <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> </exclusions> </dependency> On 7 January 2011 14:10, David Pollak <feeder.of.the.be...@gmail.com> wrote: > On Fri, Jan 7, 2011 at 3:14 AM, Gary Tully <gary.tu...@gmail.com> wrote: > >> The spring dependencies are only used for the xbean spring xml >> configuration of the broker. >> >> > Thanks for the answer. Is there a list someplace of legal exclusions so I > can have a minimal client? > > >> A pom like the following, with a spring exclusion will do it: >> >> <?xml version="1.0" encoding="UTF-8"?> >> <project xmlns="http://maven.apache.org/POM/4.0.0" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >> http://maven.apache.org/xsd/maven-4.0.0.xsd"> >> <modelVersion>4.0.0</modelVersion> >> >> <groupId>spring-free-jms-client</groupId> >> <artifactId>spring-free-jms-client</artifactId> >> <version>1.0</version> >> <dependencies> >> <dependency> >> <groupId>org.apache.activemq</groupId> >> <artifactId>activemq-core</artifactId> >> <version>5.4.2</version> >> <exclusions> >> <exclusion> >> <groupId>org.springframework</groupId> >> <artifactId>spring-context</artifactId> >> </exclusion> >> </exclusions> >> </dependency> >> </dependencies> >> </project> >> >> On 6 January 2011 19:15, David Pollak <feeder.of.the.be...@gmail.com> >> wrote: >> > Howdy, >> > >> > I'm trying to add ActiveMQ to the client side of my application. I have >> a >> > firm ban on anything Spring-related in my applications. >> > >> > So, I'm trying to figure out what I need to support JMS and to support >> > connecting to my ActiveMQ broker and nothing else. >> > >> > When I use activemq-core, I get Spring and 20+ other packages. What can >> I >> > depend on (I'm using Maven) that will import the least necessary to >> connect >> > to my ActiveMQ broker? >> > >> > Thanks, >> > >> > David >> > >> > -- >> > Lift, the simply functional web framework http://liftweb.net >> > Beginning Scala http://www.apress.com/book/view/1430219890 >> > Follow me: http://twitter.com/dpp >> > Blog: http://goodstuff.im >> > Surf the harmonics >> > >> >> >> >> -- >> http://blog.garytully.com >> http://fusesource.com >> > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Blog: http://goodstuff.im > Surf the harmonics > -- http://blog.garytully.com http://fusesource.com