{
  "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,search",
    "javaType": "org.apache.camel.component.geocoder.GeoCoderComponent",
    "supportLevel": "Stable",
    "groupId": "org.apache.camel",
    "artifactId": "camel-geocoder",
    "version": "4.0.5",
    "scheme": "geocoder",
    "extendsScheme": "",
    "syntax": "geocoder:address:latlng",
    "async": false,
    "api": false,
    "consumerOnly": false,
    "producerOnly": true,
    "lenientProperties": false
  },
  "componentProperties": {
    "lazyStartProducer": { "index": 0, "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": { "index": 1, "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": { "index": 2, "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": { "index": 0, "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": { "index": 1, "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": { "index": 2, "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": { "index": 3, "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": { "index": 4, "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": { "index": 5, "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": { "index": 6, "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": { "index": 7, "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": { "index": 8, "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": { "index": 9, "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": { "index": 10, "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": { "index": 0, "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": { "index": 1, "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": { "index": 2, "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": { "index": 3, "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": { "index": 4, "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": { "index": 5, "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": { "index": 6, "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": { "index": 7, "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": { "index": 8, "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": { "index": 9, "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": { "index": 10, "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": { "index": 11, "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": { "index": 12, "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": { "index": 13, "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": { "index": 14, "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": { "index": 15, "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": { "index": 16, "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." }
  }
}
