{
throw new TransactionException(CoreMessages.createStaticMessage("Single resource transaction has already a resource bound"));
}
TransactionFactory transactionFactory = muleContext.getTransactionFactoryManager().getTransactionFactoryFor(key.getClass());
this.unbindTransaction();
this.delegate = transactionFactory.beginTransaction(muleContext);
delegate.bindResource(key, resource);
}
@Override
public void setRollbackOnly() throws TransactionException