The BrokerService is exactly what I was looking for. I initially had trouble
with it, but I realized looking at your example that I was mistakenly
calling addConnector() before I called setPersistanceAdapter(). When I
swapped them around it worked great!
Thanks,
Brian
rajdavies wrote:
>
>
>
I want to make a very lightweight use of ActiveMQ. No external config files,
no JMS, no JDBC, just kaha persistence and the embedded VM broker.
I create it like this:
ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("vm://localhost?broker.useJmx=false");
But this ini