@Test
public void testTxConsumeRollback() throws Exception {
try {
this.producer = this.sessionFactory.createProducer(new PartitionSelector() {
public Partition getPartition(final String topic, final List<Partition> partitions,
final Message message) throws MetaClientException {
return partitions.get(0);
}