{
  "component": {
    "kind": "component",
    "name": "geocoder",
    "title": "Geocoder",
    "description": "Find geocodes (latitude and longitude) for a given address or the other way round.",
    "deprecated": false,
    "firstVersion": "2.12.0",
    "label": "api,location",
    "javaType": "org.apache.camel.component.geocoder.GeoCoderComponent",
    "supportLevel": "Stable",
    "groupId": "org.apache.camel.springboot",
    "artifactId": "camel-geocoder-starter",
    "version": "3.20.1-SNAPSHOT",
    "scheme": "geocoder",
    "extendsScheme": "",
    "syntax": "geocoder:address:latlng",
    "async": false,
    "api": false,
    "consumerOnly": false,
    "producerOnly": true,
    "lenientProperties": false
  },
  "componentProperties": {
    "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "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." },
    "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "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." },
    "geoApiContext": { "kind": "property", "displayName": "Geo Api Context", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.google.maps.GeoApiContext", "deprecated": false, "autowired": false, "secret": false, "description": "Configuration for Google maps API" }
  },
  "headers": {
    "CamelGeoCoderAddress": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The formatted address", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#ADDRESS" },
    "CamelGeoCoderLatlng": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The latitude and longitude of the location. Separated by comma.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#LATLNG" },
    "CamelGeoCoderLat": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The latitude of the location.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#LAT" },
    "CamelGeoCoderLng": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The longitude of the location.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#LNG" },
    "CamelGeoCoderStatus": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": true, "javaType": "org.apache.camel.component.geocoder.GeocoderStatus", "enum": [ "ERROR", "INVALID_REQUEST", "ACCESS_NOT_CONFIGURED", "OK", "OVER_QUERY_LIMIT", "OVER_DAILY_LIMIT", "REQUEST_DENIED", "UNKNOWN_ERROR", "ZERO_RESULTS" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Status code from the geocoder library. If status is GeocoderStatus.OK then additional headers is enriched", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#STATUS" },
    "CamelGeoCoderRegionCode": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The region code.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#REGION_CODE" },
    "CamelGeoCoderRegionName": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The region name.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#REGION_NAME" },
    "CamelGeoCoderCity": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The city long name.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#CITY" },
    "CamelGeoCoderCountryLong": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The country long name.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#COUNTRY_LONG" },
    "CamelGeoCoderCountryShort": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The country short name.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#COUNTRY_SHORT" },
    "CamelGeoCoderPostalCode": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The postal code.", "constantName": "org.apache.camel.component.geocoder.GeoCoderConstants#POSTAL_CODE" }
  },
  "properties": {
    "address": { "kind": "path", "displayName": "Address", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The geo address which should be prefixed with address:" },
    "latlng": { "kind": "path", "displayName": "Latlng", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The geo latitude and longitude which should be prefixed with latlng:" },
    "headersOnly": { "kind": "parameter", "displayName": "Headers Only", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to only enrich the Exchange with headers, and leave the body as-is." },
    "language": { "kind": "parameter", "displayName": "Language", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "en", "description": "The language to use." },
    "serverUrl": { "kind": "parameter", "displayName": "Server URL", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "URL to the geocoder server. Mandatory for Nominatim server." },
    "type": { "kind": "parameter", "displayName": "GeoCoding Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.geocoder.GeoCoderType", "enum": [ "NOMINATIM", "GOOGLE" ], "deprecated": false, "autowired": false, "secret": false, "description": "Type of GeoCoding server. Supported Nominatim and Google." },
    "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "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." },
    "proxyAuthDomain": { "kind": "parameter", "displayName": "Proxy Auth Domain", "group": "proxy", "label": "proxy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Proxy Authentication Domain to access Google GeoCoding server." },
    "proxyAuthHost": { "kind": "parameter", "displayName": "Proxy Auth Host", "group": "proxy", "label": "proxy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Proxy Authentication Host to access Google GeoCoding server." },
    "proxyAuthMethod": { "kind": "parameter", "displayName": "Proxy Auth Method", "group": "proxy", "label": "proxy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Authentication Method to Google GeoCoding server." },
    "proxyAuthPassword": { "kind": "parameter", "displayName": "Proxy Auth Password", "group": "proxy", "label": "proxy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Proxy Password to access GeoCoding server." },
    "proxyAuthUsername": { "kind": "parameter", "displayName": "Proxy Auth Username", "group": "proxy", "label": "proxy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Proxy Username to access GeoCoding server." },
    "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": "proxy", "label": "proxy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Proxy Host to access GeoCoding server." },
    "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": "proxy", "label": "proxy", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "Proxy Port to access GeoCoding server." },
    "apiKey": { "kind": "parameter", "displayName": "Api Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "API Key to access Google. Mandatory for Google GeoCoding server." },
    "clientId": { "kind": "parameter", "displayName": "Client Id", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "Client ID to access Google GeoCoding server." },
    "clientKey": { "kind": "parameter", "displayName": "Client Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "Client Key to access Google GeoCoding server." }
  }
}
