Пример #1
0
 public JournalMessageStore(
     JournalPersistenceAdapter adapter,
     MessageStore checkpointStore,
     ActiveMQDestination destination) {
   super(destination);
   this.peristenceAdapter = adapter;
   this.transactionStore = adapter.getTransactionStore();
   this.longTermStore = checkpointStore;
   this.transactionTemplate =
       new TransactionTemplate(
           adapter, new ConnectionContext(new NonCachedMessageEvaluationContext()));
 }