@Override
 public void deleteDestination(final PersistedType type, final String name) throws Exception {
   PersistedDestination destination = destinations.remove(new Pair<>(type, name));
   if (destination != null) {
     jmsJournal.appendDeleteRecord(destination.getId(), false);
   }
 }
 @Override
 public void deleteConnectionFactory(final String cfName) throws Exception {
   PersistedConnectionFactory oldCF = mapFactories.remove(cfName);
   if (oldCF != null) {
     jmsJournal.appendDeleteRecord(oldCF.getId(), false);
   }
 }
  @Override
  public void deleteBindings(PersistedType type, String name) throws Exception {
    Pair<PersistedType, String> key = new Pair<>(type, name);

    PersistedBindings currentBindings = mapBindings.remove(key);

    if (currentBindings != null) {
      jmsJournal.appendDeleteRecord(currentBindings.getId(), true);
    }
  }
 /** @param packet */
 private void handleAppendDelete(final ReplicationDeleteMessage packet) throws Exception {
   Journal journalToUse = getJournal(packet.getJournalID());
   journalToUse.appendDeleteRecord(packet.getId(), noSync);
 }