use of org.mule.runtime.core.internal.util.journal.queue.XaTxQueueTransactionJournal in project mule by mulesoft.
the class TransactionalQueueManager method initialise.
@Override
public void initialise() throws InitialisationException {
String workingDirectory = getMuleContext().getConfiguration().getWorkingDirectory();
int queueTransactionFilesSizeInMegabytes = getMuleContext().getConfiguration().getMaxQueueTransactionFilesSizeInMegabytes();
localTxTransactionJournal = new LocalTxQueueTransactionJournal(workingDirectory + File.separator + "queue-tx-log", getMuleContext(), queueTransactionFilesSizeInMegabytes);
localTxQueueTransactionRecoverer = new LocalTxQueueTransactionRecoverer(localTxTransactionJournal, this);
xaTransactionJournal = new XaTxQueueTransactionJournal(workingDirectory + File.separator + "queue-xa-tx-log", getMuleContext(), queueTransactionFilesSizeInMegabytes);
xaTransactionRecoverer = new XaTransactionRecoverer(xaTransactionJournal, this);
}
Aggregations