That code is for the FakeServer, which is just a test harness. The EmbeddedServer does not require a TransactionManager. See the EmbeddedServer class. If you don't set a TransactionManger any transaction related method will fail with an unsupported operation exception. If you are in a transaction aware environment, then you should set the EmbeddedConfiguration TransactionManager to the TransactionManager in that environment (you would typically have to perform a JNDI lookup).