activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Bobba" <>
Subject JDBC Persistance
Date Sun, 01 Apr 2007 06:08:55 GMT
I have three producers producing 80K messages every 2 seconds, I have
three consumers subscribed as durable consumers. I am using mysql as
persistence. What I see is that the messages are being written to the
database even when all the subscribers are up. I thought that broker
only writes to the datasource if it has to. Can anyone explain what I am
missing? Here is my configuration: I am using activemq 4.0.1


<beans xmlns="">


  <broker useJmx="true" brokerName="cdx-server"
deleteAllMessagesOnStartup="true" persistent="true">


      <journaledJDBC dataSource="#mysql-ds"/>




       <transportConnector name="default" uri="tcp://localhost:9082"/>



  <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource"

    <property name="driverClassName" value="com.mysql.jdbc.Driver"/>

    <property name="url"

    <property name="username" value="transera"/>

    <property name="password" value="transera"/>

    <property name="poolPreparedStatements" value="true"/>





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message