activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbray <>
Subject how can I configure persistence adapter in URI?
Date Wed, 21 Nov 2007 04:47:47 GMT

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

But this initializes derby, etc.  Is there a way to do this:

   <kahaPersistenceAdapter dir="activemq-journal"

But in the URI (or though java or properties objects) so I don't have to
require spring and/or have an external xml configuration file?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message