blob: ee9a64285d801c73a33c65ad4c495f7801b37213 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.weather.CamelWeatherSinkConnector",
"artifactId": "camel-weather-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-weather-sink",
"type": "sink",
"version": "0.7.0",
"description": "Poll the weather information from Open Weather Map."
},
"properties": {
"camel.sink.path.name": {
"name": "camel.sink.path.name",
"description": "The name value is not used.",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.appid": {
"name": "camel.sink.endpoint.appid",
"description": "APPID ID used to authenticate the user connected to the API Server",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.headerName": {
"name": "camel.sink.endpoint.headerName",
"description": "To store the weather result in this header instead of the message body. This is useable if you want to keep current message body as-is.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.language": {
"name": "camel.sink.endpoint.language",
"description": "Language of the response. One of: [en] [ru] [it] [es] [sp] [uk] [ua] [de] [pt] [ro] [pl] [fi] [nl] [fr] [bg] [sv] [se] [zh_tw] [zh] [zh_cn] [tr] [hr] [ca]",
"defaultValue": "\"en\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"en",
"ru",
"it",
"es",
"sp",
"uk",
"ua",
"de",
"pt",
"ro",
"pl",
"fi",
"nl",
"fr",
"bg",
"sv",
"se",
"zh_tw",
"zh",
"zh_cn",
"tr",
"hr",
"ca"
]
},
"camel.sink.endpoint.mode": {
"name": "camel.sink.endpoint.mode",
"description": "The output format of the weather data. One of: [HTML] [JSON] [XML]",
"defaultValue": "\"JSON\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"HTML",
"JSON",
"XML"
]
},
"camel.sink.endpoint.period": {
"name": "camel.sink.endpoint.period",
"description": "If null, the current weather will be returned, else use values of 5, 7, 14 days. Only the numeric value for the forecast period is actually parsed, so spelling, capitalisation of the time period is up to you (its ignored)",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.units": {
"name": "camel.sink.endpoint.units",
"description": "The units for temperature measurement. One of: [IMPERIAL] [METRIC]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"IMPERIAL",
"METRIC"
]
},
"camel.sink.endpoint.weatherApi": {
"name": "camel.sink.endpoint.weatherApi",
"description": "The API to use (current, forecast\/3 hour, forecast daily, station) One of: [Current] [Station] [Hourly] [Daily]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"Current",
"Station",
"Hourly",
"Daily"
]
},
"camel.sink.endpoint.lazyStartProducer": {
"name": "camel.sink.endpoint.lazyStartProducer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.geoLocationProvider": {
"name": "camel.sink.endpoint.geoLocationProvider",
"description": "A custum geolocation provider to determine the longitude and latitude to use when no location information is set. The default implementaion uses the ipstack API and requires geolocationAccessKey and geolocationRequestHostIP",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.httpClient": {
"name": "camel.sink.endpoint.httpClient",
"description": "To use an existing configured http client (for example with http proxy)",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.synchronous": {
"name": "camel.sink.endpoint.synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.cnt": {
"name": "camel.sink.endpoint.cnt",
"description": "Number of results to be found",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.ids": {
"name": "camel.sink.endpoint.ids",
"description": "List of id's of city\/stations. You can separate multiple ids by comma.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.lat": {
"name": "camel.sink.endpoint.lat",
"description": "Latitude of location. You can use lat and lon options instead of location. For boxed queries this is the bottom latitude.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.location": {
"name": "camel.sink.endpoint.location",
"description": "If null Camel will try and determine your current location using the geolocation of your ip address, else specify the city,country. For well known city names, Open Weather Map will determine the best fit, but multiple results may be returned. Hence specifying and country as well will return more accurate data. If you specify current as the location then the component will try to get the current latitude and longitude and use that to get the weather details. You can use lat and lon options instead of location.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.lon": {
"name": "camel.sink.endpoint.lon",
"description": "Longitude of location. You can use lat and lon options instead of location. For boxed queries this is the left longtitude.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.rightLon": {
"name": "camel.sink.endpoint.rightLon",
"description": "For boxed queries this is the right longtitude. Needs to be used in combination with topLat and zoom.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.topLat": {
"name": "camel.sink.endpoint.topLat",
"description": "For boxed queries this is the top latitude. Needs to be used in combination with rightLon and zoom.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.zip": {
"name": "camel.sink.endpoint.zip",
"description": "Zip-code, e.g. 94040,us",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.zoom": {
"name": "camel.sink.endpoint.zoom",
"description": "For boxed queries this is the zoom. Needs to be used in combination with rightLon and topLat.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.geolocationAccessKey": {
"name": "camel.sink.endpoint.geolocationAccessKey",
"description": "The geolocation service now needs an accessKey to be used",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.geolocationRequestHostIP": {
"name": "camel.sink.endpoint.geolocationRequestHostIP",
"description": "The geolocation service now needs to specify the IP associated to the accessKey you're using",
"priority": "HIGH",
"required": "true"
},
"camel.component.weather.lazyStartProducer": {
"name": "camel.component.weather.lazyStartProducer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.weather.autowiredEnabled": {
"name": "camel.component.weather.autowiredEnabled",
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
}
}
}