activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From navneek <>
Subject Messages are not getting persisted in database table.(jdbcPersistenceAdapter>
Date Thu, 25 Oct 2007 11:28:16 GMT


Im using the following configuration for persisting messages into oracle
database. Ultimately When I start activemq the tables (activemq_acks,
activemq_lock, activemq_msgs) are created but it is not holding any message
in table named 'activemq_msgs'. When I post messages into Broker, msg
staying in broker only... but msg are not going into dadabase
table(activemq_msgs).Table data remains empty.. Please let me know if im
missing anymore configuration. I want to populate this table with the
messages im posting in broker.

My configuration:
<broker xmlns="" brokerName="localhost"
        <jdbcPersistenceAdapter dataSource="#oracle-ds"

<bean id="oracle-ds" class="org.apache.commons.dbcp.BasicDataSource"
    <property name="driverClassName"
    <property name="url" value="jdbc:oracle:thin:@mydb:1521:orclcore"/>
    <property name="username" value="scott"/>
    <property name="password" value="testpw"/>
    <property name="poolPreparedStatements" value="true"/>

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

View raw message