use of org.apache.activemq.artemis.core.persistence.impl.journal.codec.DuplicateIDEncoding in project activemq-artemis by apache.
the class AbstractJournalStorageManager method storeDuplicateIDTransactional.
@Override
public void storeDuplicateIDTransactional(final long txID, final SimpleString address, final byte[] duplID, final long recordID) throws Exception {
DuplicateIDEncoding encoding = new DuplicateIDEncoding(address, duplID);
readLock();
try {
messageJournal.appendAddRecordTransactional(txID, recordID, JournalRecordIds.DUPLICATE_ID, encoding);
} finally {
readUnLock();
}
}
Aggregations