[spring] remove legacy options

and also not needed maximum pool size