translate CamelExtendBeansNode & CamelExtendRoutesNode to scala