CAMEL-7114 Fix the test failure of camel-itest with spring4.x