Convert spring-tx example to a scala version