blob: ee889acc628efabf8f41b169084e21c63d305778 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.ahcws.CamelAhcwsSourceConnector",
"artifactId": "camel-ahc-ws-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-ahc-ws-source",
"type": "source",
"version": "0.7.0",
"description": "Exchange data with external Websocket servers using Async Http Client."
},
"properties": {
"camel.source.path.httpUri": {
"name": "camel.source.path.httpUri",
"description": "The URI to use such as http:\/\/hostname:port\/path",
"priority": "HIGH",
"required": "true"
},
"camel.source.endpoint.bridgeEndpoint": {
"name": "camel.source.endpoint.bridgeEndpoint",
"description": "If the option is true, then the Exchange.HTTP_URI header is ignored, and use the endpoint's URI for request. You may also set the throwExceptionOnFailure to be false to let the AhcProducer send all the fault response back.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.bufferSize": {
"name": "camel.source.endpoint.bufferSize",
"description": "The initial in-memory buffer size used when transferring data between Camel and AHC Client.",
"defaultValue": "4096",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.headerFilterStrategy": {
"name": "camel.source.endpoint.headerFilterStrategy",
"description": "To use a custom HeaderFilterStrategy to filter header to and from Camel message.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.throwExceptionOnFailure": {
"name": "camel.source.endpoint.throwExceptionOnFailure",
"description": "Option to disable throwing the AhcOperationFailedException in case of failed responses from the remote server. This allows you to get all responses regardless of the HTTP status code.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.transferException": {
"name": "camel.source.endpoint.transferException",
"description": "If enabled and an Exchange failed processing on the consumer side, and if the caused Exception was send back serialized in the response as a application\/x-java-serialized-object content type (for example using Jetty or Servlet Camel components). On the producer side the exception will be deserialized and thrown as is, instead of the AhcOperationFailedException. The caused exception is required to be serialized. This is by default turned off. If you enable this then be aware that Java will deserialize the incoming data from the request to Java and that can be a potential security risk.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.bridgeErrorHandler": {
"name": "camel.source.endpoint.bridgeErrorHandler",
"description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.sendMessageOnError": {
"name": "camel.source.endpoint.sendMessageOnError",
"description": "Whether to send an message if the web-socket listener received an error.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.exchangePattern": {
"name": "camel.source.endpoint.exchangePattern",
"description": "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"InOnly",
"InOut",
"InOptionalOut"
]
},
"camel.source.endpoint.binding": {
"name": "camel.source.endpoint.binding",
"description": "To use a custom AhcBinding which allows to control how to bind between AHC and Camel.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.clientConfig": {
"name": "camel.source.endpoint.clientConfig",
"description": "To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.clientConfigOptions": {
"name": "camel.source.endpoint.clientConfigOptions",
"description": "To configure the AsyncHttpClientConfig using the key\/values from the Map.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.synchronous": {
"name": "camel.source.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.source.endpoint.clientConfigRealmOptions": {
"name": "camel.source.endpoint.clientConfigRealmOptions",
"description": "To configure the AsyncHttpClientConfig Realm using the key\/values from the Map.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.sslContextParameters": {
"name": "camel.source.endpoint.sslContextParameters",
"description": "Reference to a org.apache.camel.support.jsse.SSLContextParameters in the Registry. This reference overrides any configured SSLContextParameters at the component level. See Using the JSSE Configuration Utility. Note that configuring this option will override any SSL\/TLS configuration options provided through the clientConfig option at the endpoint or component level.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.bridgeErrorHandler": {
"name": "camel.component.ahc-ws.bridgeErrorHandler",
"description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.allowJavaSerializedObject": {
"name": "camel.component.ahc-ws.allowJavaSerializedObject",
"description": "Whether to allow java serialization when a request uses context-type=application\/x-java-serialized-object This is by default turned off. If you enable this then be aware that Java will deserialize the incoming data from the request to Java and that can be a potential security risk.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.autowiredEnabled": {
"name": "camel.component.ahc-ws.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.ahc-ws.binding": {
"name": "camel.component.ahc-ws.binding",
"description": "To use a custom AhcBinding which allows to control how to bind between AHC and Camel.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.client": {
"name": "camel.component.ahc-ws.client",
"description": "To use a custom AsyncHttpClient",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.clientConfig": {
"name": "camel.component.ahc-ws.clientConfig",
"description": "To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.headerFilterStrategy": {
"name": "camel.component.ahc-ws.headerFilterStrategy",
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.sslContextParameters": {
"name": "camel.component.ahc-ws.sslContextParameters",
"description": "Reference to a org.apache.camel.support.jsse.SSLContextParameters in the Registry. Note that configuring this option will override any SSL\/TLS configuration options provided through the clientConfig option at the endpoint or component level.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.ahc-ws.useGlobalSslContextParameters": {
"name": "camel.component.ahc-ws.useGlobalSslContextParameters",
"description": "Enable usage of global SSL context parameters.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
}
}
}