Thanks for all the suggestions.

I am still having issues, but I think I have a work around.  Is it true I
could just start it up (like below) and this will have the same effect as
using the config file?  I will be creating all the routes from within code,
so are there any disadvantages?

> BrokerService broker = BrokerFactory.createBroker(new
> URI("xbean:activemq-base.xml"));
> broker.start();
> broker.waitUntilStarted();
> DefaultCamelContext context = new DefaultCamelContext();
> ActiveMQComponent aComp = new ActiveMQComponent();
> context.addComponent("activemq",
> aComp.activeMQComponent("vm://localhost?broker.persistent=false"));
> context.start();

Thanks.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Embedded-Broker-Trying-to-Load-Camel-tp4739257p4748525.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to