[camel-weather] Failed to create Producer for endpoint: Endpoint[weather://...]. Reason: java.lang.IllegalStateException: Got the unexpected value '' for the geolocation
Issue
Any calls using the camel-weather component with no location attribute defined fail with
2018-09-17 09:49:19,678 | ERROR | ExtenderThread-2 | ContextLoaderListener | 210 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=org.jboss.qe.camel.components.weather-test, config=osgibundle:/META-INF/spring/*.xml))
org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: Endpoint[weather://foo?appid=...]. Reason: java.lang.IllegalStateException: Got the unexpected value '' for the geolocation
Environment
- Red Hat Fuse
- 7.0
- 6.x
- Camel
camel-weathercomponent without alocationattribute set
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
