activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j0llyr0g3r <>
Subject concurrent usage of a journal and a database?
Date Mon, 15 Oct 2007 11:27:19 GMT

Hey folks,

i really dont understand the following code-snippet from the original

    <!-- Use the following if you wish to configure the journal with JDBC
        <journaledJDBC journalLogFiles="5"
dataDirectory="${activemq.base}/activemq-data"  dataSource="#postgres-ds"/>

where dataSource="#postgres-ds" would be

  <bean id="postgres-ds" class="org.postgresql.ds.PGPoolingDataSource">
    <property name="serverName" value="localhost"/>
    <property name="databaseName" value="activemq"/>
    <property name="portNumber" value="0"/>
    <property name="user" value="activemq"/>
    <property name="password" value="activemq"/>
    <property name="dataSourceName" value="postgres"/>
    <property name="initialConnections" value="1"/>
    <property name="maxConnections" value="10"/>

which would be a PostgreSQL-Server.

Why and - more important - how could it be possible to use the
filesystem-based journal AND a database at once?

How does this make sense?

>From what i have, i'd thought that you only can use one at a time?

Could somebody please enlighten me?
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message