activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomas Kiviaho <>
Subject Kaha vs AMQ persistence adapter.
Date Fri, 22 Aug 2008 09:59:04 GMT

I'd like to get some sort of confirmation that I'm (not) "doing it wrong"
before posting this to JIRA, since I'm just a beginner with AMQ (5.1.0). 

I started having trouble with kaha persistence and after banging my head to
the wall couple of times I re-read the documentation.

I think default amq persistence adapter is enough but there is still
<> that I stumbled upon
first and after wards noticed that kaha is provided by default

If I configure amq persistence adapter via spring as per document above it
too will miss some of the configuration.


* * * KahaPersistenceAdapter via spring missing brokerName etc. ***

KahaPersistenceAdapter configured via Spring XBean support...

  <amq:kahaPersistenceAdapter />

...doesn't get seem to get itself fully configured as does
AMQPersistenceAdapter by default via Here
are broker name and data directory plus task runner factory derived from
broker (service) as default values. Actual configuration is done by the
AMQPersistenceAdapterFactory itself some more default values to the
persistence adapter. 

What kaha persistence adapter is missing first is the broker name."Using Persistence Adapter: " + getPersistenceAdapter()); ->

Caused by: java.lang.NullPointerException
        at java.lang.String.valueOf(
        at java.lang.StringBuilder.append(

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

View raw message