CAMEL-4490: Preparing for restoring ResourceBasedEndpoint in camel-spring to be 100% backwards compatible.