1
2
3
4
5
6
7
8
9
10
11 package org.mule.util.queue;
12
13 import org.mule.util.store.SimpleMemoryObjectStore;
14
15 import java.io.Serializable;
16
17 public class NoPersistenceTestCase extends AbstractTransactionQueueManagerTestCase
18 {
19 @Override
20 protected TransactionalQueueManager createQueueManager() throws Exception
21 {
22 TransactionalQueueManager mgr = new TransactionalQueueManager();
23 mgr.setDefaultQueueConfiguration(new QueueConfiguration(0, new SimpleMemoryObjectStore<Serializable>()));
24 return mgr;
25 }
26
27 @Override
28 protected boolean isPersistent()
29 {
30 return false;
31 }
32 }