@Override
      public void beforeCommit(TransactionEvent event) throws TransactionWriterException {
        throw new TransactionWriterException("Rollback now!");
      }
make sure standard Cache(Listener,Writer) are not called during rollback due to transaction
writer throw
geode-core/src/integrationTest/java/org/apache/geode/TXWriterJUnitTest.java