If you use Spring, you can have Spring start an  embedded broker for you in
a unit test like:

http://www.baselogic.com/blog/java/testing-activemq-virtualtopics-using-camel-and-junit



---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Thu, Oct 15, 2009 at 8:46 AM, Gary Tully <gary.tu...@gmail.com> wrote:

> You may need to add your project to the dependencies of the
> maven-activemq-plugin definition, like jetty, in the example @
> see: http://activemq.apache.org/maven2-activemq-broker-plugin.html
>
> 2009/10/15 Ryan Stewart <rds6...@gmail.com>
>
> >
> > I'm trying to get ActiveMQ started with the Maven plugin. I've added some
> > extra beans to the activemq.xml that depend on classes that are part of
> the
> > project where the plugin is defined. When I start the broker with 'mvn
> > activemq:run', it complains that it can't find the classes. How do I get
> > the
> > broker or the plugin to add the maven classpath to the ActiveMQ classpath
> > when it starts?
> > --
> > View this message in context:
> >
> http://www.nabble.com/Maven-%2B-ActiveMQ-%2B-my-own-code-tp25907487p25907487.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
> >
>
>
> --
> http://blog.garytully.com
>
> Open Source Integration
> http://fusesource.com
>

Reply via email to