In order to preserve existing behaviour, you need to set this property
camel.rest.inline-routes = false
in all versions post 4.7.x.