Update the default persistence adapter from journaledJDBC to 
amqPersistenceAdapter 
-----------------------------------------------------------------------------------

                 Key: SM-1363
                 URL: https://issues.apache.org/activemq/browse/SM-1363
             Project: ServiceMix
          Issue Type: Improvement
    Affects Versions: 3.3
         Environment: Servicemix 3.3
            Reporter: Dave Stanley
         Attachments: patch.diff

ActiveMQ 5.x introduced a new high performance persistence adapter ([AMQ 
Message Store|http://activemq.apache.org/amq-message-store.html]).

In my tests here I am seeing a decent performance boost for a relatively easy 
configuration change:

JournaledJDBC:

   [java] Overall time: 137701 ms
   [java] Messages per sec: 7.262111386264443
   [java] 
   [java] Time: 139.603
   [java]
   [java] OK (1 test)

   
AMQ Message Store:

   [java] Overall time: 20511 ms
   [java] Messages per sec: 48.75432694651651
   [java]
   [java] Time: 23.556
   [java]
   [java] OK (1 test)

I think it would be worthwhile making the default persistence adapter the 
amqPersistenceAdapter vs the current journaledJDBC.

I've attached a patch, *but* note it requires an ActiveMQ upgrade from 4.1.1 to 
5.1.0. and as the namespaces have changed in ActiveMQ 5.1 I had to update the 
ra namespace in jndi.xml also.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to