CAMEL-7783 Fixed the issue that ConsumerWSAEndpointMappingRouteTest fails with JDK8