@@ -0,0 +1,1928 @@
+/**%0A *%0A * Licensed to the Apache Software Foundation (ASF) under one or more%0A * contributor license agreements.  See the NOTICE file distributed with%0A * this work for additional information regarding copyright ownership.%0A * The ASF licenses this file to You under the Apache License, Version 2.0%0A * (the %22License%22); you may not use this file except in compliance with%0A * the License.  You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.apache.activemq.perf;%0A%0Aimport java.io.File;%0A%0Aimport org.apache.activeio.journal.active.JournalImpl;%0Aimport org.apache.activemq.broker.BrokerService;%0Aimport org.apache.activemq.store.journal.JournalPersistenceAdapter;%0Aimport org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter;%0A/**%0A * @version $Revision: 1.3 $%0A */%0Apublic class JournalKahaQueueTest extends SimpleQueueTest%7B%0A    %0A        %0A    protected void configureBroker(BrokerService answer) throws Exception%7B%0A        %0A    %09File dataFileDir = new File(%22activemq-data/perfTest%22);%0A        File journalDir = new File(dataFileDir, %22journal%22).getCanonicalFile();%0A        JournalImpl journal = new JournalImpl(journalDir, 3, 1024*1024*20);%0A    %09%0A        KahaPersistenceAdapter kahaAdaptor = new KahaPersistenceAdapter(new File(dataFileDir, %22kaha%22));%0A        JournalPersistenceAdapter journalAdaptor = new JournalPersistenceAdapter(journal, kahaAdaptor, answer.getTaskRunnerFactory());%0A        %0A        answer.setPersistenceAdapter(journalAdaptor);%0A        answer.addConnector(bindAddress);%0A        answer.setDeleteAllMessagesOnStartup(true);%0A        %0A    %7D%0A%0A%7D%0A

Adding a perf test that uses the journal kaha combination.