Improved the RestBaseClass handling of the camel context