ActiveMQ
  1. ActiveMQ
  2. AMQ-2338

Add indexCacheSize option to KahaDB store to allow configuring the read cache size.

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.1, 5.4.0
    • Component/s: Message Store
    • Labels:
      None
    1. AMQ-2338.patch
      0.6 kB
      Torsten Mielke

      Activity

      Hide
      Hiram Chirino added a comment -

      applied in rev 799733

      Show
      Hiram Chirino added a comment - applied in rev 799733
      Hide
      Torsten Mielke added a comment -

      The class MessageDatabase.java now has the indexCacheSize but it still isn't configurable through the <kahaDB> config element in activemq.xml as shown in http://activemq.apache.org/kahadb.html, because the KahaDBPersistenceAdapter class does not know about this property.

      The property needs to be added to KahaDBPersistenceAdapter as well in order to be configurable.

      Show
      Torsten Mielke added a comment - The class MessageDatabase.java now has the indexCacheSize but it still isn't configurable through the <kahaDB> config element in activemq.xml as shown in http://activemq.apache.org/kahadb.html , because the KahaDBPersistenceAdapter class does not know about this property. The property needs to be added to KahaDBPersistenceAdapter as well in order to be configurable.
      Hide
      Torsten Mielke added a comment -

      Proposing a patch for this problem, not fully tested here.

      Show
      Torsten Mielke added a comment - Proposing a patch for this problem, not fully tested here.

        People

        • Assignee:
          Rob Davies
          Reporter:
          Hiram Chirino
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development