I don't want this to be a strictly "in-JVM" broker.  I would like to
allow external clients to connect to ActiveMQ.  Ideally I would like
maven to start ActiveMQ, with my camel routes defined and referenced
from an activemq.xml file.



On Sun, Jun 17, 2012 at 11:28 PM, boday <ben.o...@initekconsulting.com> wrote:
> don't use the m2-amq plugin, instead just configure your test AMQ broker URL
> to be "vm://localhost" (generally configured with a test context file,
> /src/test/resources/camel-context.xml, etc.) and an embedded broker will be
> started automatically.
>
>
> Mark Webb wrote
>>
>> I usually use the command "mvn camel:run" to execute my camel
>> routes..etc in my development environment.  I have included ActiveMQ
>> support for my camel routing and would like to start an ActiveMQ
>> broker as part of my Camel routes when they start up.  Is there a way
>> to do this from maven or should I just embed a broker in my main
>> class?
>>
>> I ran across this link -
>> http://activemq.apache.org/maven2-activemq-broker-plugin.html, but it
>> seems quite dated.
>>
>>
>> Thanks,
>> Mark
>>
>
>
> -----
> Ben O'Day
> IT Consultant -http://consulting-notes.com
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/running-ActiveMQ-with-camel-from-maven-tp5714563p5714598.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to