From users-return-26406-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Fri Jan 07 14:49:30 2011 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 8507 invoked from network); 7 Jan 2011 14:49:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 14:49:30 -0000 Received: (qmail 10957 invoked by uid 500); 7 Jan 2011 14:49:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 10851 invoked by uid 500); 7 Jan 2011 14:49:29 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 10833 invoked by uid 99); 7 Jan 2011 14:49:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 14:49:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qw0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 14:49:23 +0000 Received: by qwk3 with SMTP id 3so19471863qwk.2 for ; Fri, 07 Jan 2011 06:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=4jnnxnVJ/IehBZMl1mwqKq2kRoa8xTypt9bEQ7ETmt0=; b=bIpeDKHE94m11Oo8Ssl8o8q9lGiOpCX2rRXzdGT10vZKwMcF9GyPwIZB+lfxB0lICS uGtAlBa/UYBO+q3G3DdBMsNVoqp7z8sqCpLXyJck3gtx6Vu8rP8PyeeJJKTN11gCnaAq 8yrOY8ZQUPSxhE0xd8CXahps2lUmsDi7owX7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wSqKkQXkveH33P/nt4DcDUoQbe2HnQ3w+MDvwblzXuR1f5cjXA2VsRjh37mO+j5yuV 4MzqtucjA4fBA9Gbv/y0eATwt1zkOMJIohRBxGPsyqYJSpe0wnAQ0y2Bz4RMt1bmT6J3 zQQU7PY+2uP4dDzaNm6gADfiI9GS0SoEWRd0U= MIME-Version: 1.0 Received: by 10.229.95.8 with SMTP id b8mr21135828qcn.156.1294411742580; Fri, 07 Jan 2011 06:49:02 -0800 (PST) Received: by 10.229.107.3 with HTTP; Fri, 7 Jan 2011 06:49:02 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Jan 2011 14:49:02 +0000 Message-ID: Subject: Re: ActiveMQ client without Spring From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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: org.apache.activemq activemq-core 5.4.2 org.springframework spring-context org.apache.activemq activeio-core org.apache.activemq kahadb org.jasypt jasypt org.apache.activemq.protobuf activemq-protobuf commons-net commons-net org.osgi org.osgi.core On 7 January 2011 14:10, David Pollak wrote= : > On Fri, Jan 7, 2011 at 3:14 AM, Gary Tully wrote: > >> The spring dependencies are only used for the xbean spring xml >> configuration of the broker. >> >> > Thanks for the answer. =A0Is there a list someplace of legal exclusions s= o I > can have a minimal client? > > >> A pom like the following, with a spring exclusion will do it: >> >> >> > =A0 =A0 =A0 =A0 xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" >> =A0 =A0 =A0 =A0 xsi:schemaLocation=3D"http://maven.apache.org/POM/4.0.0 >> http://maven.apache.org/xsd/maven-4.0.0.xsd"> >> =A0 =A04.0.0 >> >> =A0 =A0spring-free-jms-client >> =A0 =A0spring-free-jms-client >> =A0 =A01.0 >> =A0 =A0 >> =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0org.apache.activemq >> =A0 =A0 =A0 =A0 =A0 =A0activemq-core >> =A0 =A0 =A0 =A0 =A0 =A05.4.2 >> =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org.springframework >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0spring-context >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 >> =A0 =A0 >> >> >> On 6 January 2011 19:15, David Pollak >> wrote: >> > Howdy, >> > >> > I'm trying to add ActiveMQ to the client side of my application. =A0I = 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. =A0What= 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 > --=20 http://blog.garytully.com http://fusesource.com