activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Pollak <feeder.of.the.be...@gmail.com>
Subject Re: ActiveMQ client without Spring
Date Fri, 07 Jan 2011 14:10:33 GMT
On Fri, Jan 7, 2011 at 3:14 AM, Gary Tully <gary.tully@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.bears@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

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