1
2
3
4
5
6
7
8
9
10
11 package org.mule.util.queue;
12
13 public class FilePersistenceTestCase extends AbstractTransactionQueueManagerTestCase
14 {
15
16 protected TransactionalQueueManager createQueueManager() throws Exception
17 {
18 TransactionalQueueManager mgr = new TransactionalQueueManager();
19 mgr.setPersistenceStrategy(new FilePersistenceStrategy());
20 mgr.setDefaultQueueConfiguration(new QueueConfiguration(true));
21 return mgr;
22 }
23
24
25
26
27
28
29 protected boolean isPersistent()
30 {
31 return true;
32 }
33
34 }