Я пытаюсь вызвать пример "Nothwind" и всегда получаю сообщение об ошибке, что
<camelContext id="camelId" xmlns="http://camel.apache.org/schema/spring">
<route id="olingoTest">
<!-- <from uri="timer://tTest?repeatCount=1"/> -->
<from uri="olingo4://read/Employees?serviceUri=https://services.odata.org/V4/Northwind/Northwind.svc" />
<log message="serviceUri: ${header.CamelOlingo4.serviceUri}" />
<log message="============Body: ${body} " />
<to uri="mock:tmo" />
</route>
</camelContext>
ServiceUri будет отсутствовать, даже если я передаю его.
Exception in thread "main" org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route olingoTest: Route(olingoTest)[[From[olingo4://read/Employees?serviceUri=... because of Failed to resolve endpoint: olingo4://read/Employees?serviceUri=https%3A%2F%2Fservices.odata.org%2FV4%2FNorthwind%2FNorthwind.svc due to: serviceUri
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1774)
at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:138)
at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:361)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.javavillage.camel.proj.olingoRunner4.main(olingoRunner4.java:19)
Кто-нибудь знает, в чем проблема?