Mick Knutson-3 wrote:
> 
> 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
> 

I'm not quite sure what you're getting at. I don't see anywhere in that post
that you start up a broker. This is a fine reference for starting and
embedded broker:
http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html

I've done something like that using a BrokerService in unit tests, but what
I'm looking for here is a way to start a standalone ActiveMQ broker that's
running a little bit of custom code. The plugin seems ideal for this, and it
was extremely easy to configure, but when I add the extra beans, supported
by the custom code, to the activmemq.xml, this problem arises.
-- 
View this message in context: 
http://www.nabble.com/Maven-%2B-ActiveMQ-%2B-my-own-code-tp25907487p25908531.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to