blob: 576abb49dab31df8a83065659b36d1bec20b229c [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.googlemail.CamelGooglemailSinkConnector",
"artifactId": "camel-google-mail-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-google-mail-sink",
"type": "sink",
"version": "0.7.0",
"description": "Manage messages in Google Mail."
},
"properties": {
"camel.sink.path.apiName": {
"name": "camel.sink.path.apiName",
"description": "What kind of operation to perform One of: [THREADS] [MESSAGES] [ATTACHMENTS] [LABELS] [HISTORY] [DRAFTS] [USERS]",
"priority": "HIGH",
"required": "true",
"enum": [
"THREADS",
"MESSAGES",
"ATTACHMENTS",
"LABELS",
"HISTORY",
"DRAFTS",
"USERS"
]
},
"camel.sink.path.methodName": {
"name": "camel.sink.path.methodName",
"description": "What sub operation to use for the selected operation One of: [attachments] [create] [delete] [get] [getProfile] [gmailImport] [insert] [list] [modify] [patch] [send] [stop] [trash] [untrash] [update] [watch]",
"priority": "HIGH",
"required": "true",
"enum": [
"attachments",
"create",
"delete",
"get",
"getProfile",
"gmailImport",
"insert",
"list",
"modify",
"patch",
"send",
"stop",
"trash",
"untrash",
"update",
"watch"
]
},
"camel.sink.endpoint.applicationName": {
"name": "camel.sink.endpoint.applicationName",
"description": "Google mail application name. Example would be camel-google-mail\/1.0",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.clientId": {
"name": "camel.sink.endpoint.clientId",
"description": "Client ID of the mail application",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.inBody": {
"name": "camel.sink.endpoint.inBody",
"description": "Sets the name of a parameter to be passed in the exchange In Body",
"priority": "MEDIUM",
"required": "false"
},
"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.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.accessToken": {
"name": "camel.sink.endpoint.accessToken",
"description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.clientSecret": {
"name": "camel.sink.endpoint.clientSecret",
"description": "Client secret of the mail application",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.refreshToken": {
"name": "camel.sink.endpoint.refreshToken",
"description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-mail.applicationName": {
"name": "camel.component.google-mail.applicationName",
"description": "Google mail application name. Example would be camel-google-mail\/1.0",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-mail.clientId": {
"name": "camel.component.google-mail.clientId",
"description": "Client ID of the mail application",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-mail.configuration": {
"name": "camel.component.google-mail.configuration",
"description": "To use the shared configuration",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-mail.lazyStartProducer": {
"name": "camel.component.google-mail.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.google-mail.autowiredEnabled": {
"name": "camel.component.google-mail.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"
},
"camel.component.google-mail.clientFactory": {
"name": "camel.component.google-mail.clientFactory",
"description": "To use the GoogleCalendarClientFactory as factory for creating the client. Will by default use BatchGoogleMailClientFactory",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-mail.accessToken": {
"name": "camel.component.google-mail.accessToken",
"description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-mail.clientSecret": {
"name": "camel.component.google-mail.clientSecret",
"description": "Client secret of the mail application",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-mail.refreshToken": {
"name": "camel.component.google-mail.refreshToken",
"description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.",
"priority": "MEDIUM",
"required": "false"
}
}
}