[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-weather
component without alocation
attribute set
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.